This is the mail archive of the cygwin 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]
Other format: [Raw text]

RE: Support select() to read data from serial port


On 20 February 2008 10:35, hce wrote:

> Hi,
> 
> I guess that
> select() is not supported by the window, nor by minGW. 

  Yep.

> Will cygwin support select() in a fiile
> system to read data from a serial port? 

  Yep.

> In cygwin, can I keep native
> read() and write() system call to a serial port file descriptor, 

  Yep.

  :)

  You should be able to just recompile your program on cygwin and it'll work.
You even get to use linux-alike /dev/ttyS0 names to access the serial port
(ttyS0 = COM1, ttyS1 = COM2, etc..)


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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