This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Serial Programming


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]