This is the mail archive of the cygwin@sources.redhat.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 port and unwanted NL -> CR/LF tranlastion


DJ Delorie wrote:
> 
> >       open( name, O_RDWR | O_NOCTTY | O_NONBLOCK )
> 
> #ifndef O_BINARY
> #define O_BINARY 0
> #endif
> 
> open( name, O_RDWR | O_NOCTTY | O_NONBLOCK | O_BINARY )

Wouldn't this just be OR'ing a 0 into the flags?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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