This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: file descriptors opened as text files
Ross Smith <ross.s@ihug.co.nz> writes:
> There's no standard way to select the mode for open(), but Cygwin
> provides the non-standard one O_TEXT. Include it in your open mode flags
> (second argument to open()).
All flags to open() are documented in /usr/include/sys/fcntl.h.
/Jesper
--
-------------------------------------------------------------------------
Jesper Eskilson jojo@virtutech.se
Virtutech http://www.virtutech.se
-------------------------------------------------------------------------
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple