This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Serial Programming
- To: cygwin at cygwin dot com
- Subject: Re: Serial Programming
- From: Dario Alcocer <alcocer at helixdigital dot com>
- Date: Thu, 10 May 2001 07:39:58 -0700
- References: <3AFA64BB.D515CBCF@certum.pl>
>>>>> "Jacek" == Jacek Trzcinski <jacek@certum.pl> writes:
Jacek> Hi Cygwiners !, I need a way to set(get) modem lines on
Jacek> serial interfaces (/dev/ttys0 and other)...
Jacek> Typical Posix solution for example ioctl(fd,TCGETS,...) or
Jacek> ioctl(fd,TCSETS,..) does not work because of absence such
Jacek> constants in termios.h under Cygwin
Which termio stuff is missing from Cygwin? It would helpful if you
were to list what you think is missing.
Maybe you could go through your code and determine which ioctl() calls
and macros you're using. Then, you could compare that list with
what's in the cygwin1.dll source code.
The source code for cygwin1.dll is at:
ftp://ftp.sunsite.utk.edu/pub/cygwin/latest/cygwin
Look at the files names *.src.tar.gz, and retrieve the one that
corresponds to the Cygwin version you're currently using.
--
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer@helixdigital.com -- http://www.helixdigital.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple