ioctl - TCGETS
J. J. Farrell
jjf@bcs.org.uk
Mon May 22 17:21:00 GMT 2000
> From: "Jeremy Frank" <jmfrank@solipsys.com>
>
> When setting up a connection to a com port (in a UNIX environment), I
> have to use the ioctl command as follows:
>
> ioctl(fd, TCGETS, &termio);
You shouldn't have to do that unless the release of Unix you are using
is more than about 12 years old.
> However, TCGETS is not defined in the cygwin termios.h file. Is there
> an equivalent way of making this same call in the cygwin environment?
tcgetattr() has been the Standard way to achieve this functionality on
Unix for many years, and works on Cygwin AFAIK.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list