This is the mail archive of the cygwin@sourceware.cygnus.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-configuring standard input to binary mode


Hi,

	How does one configure the standard input stream (fd = 0) to run in
binary mode?  The default mode seems to be text mode.

	I've tried to use fcntl() to no avail.  I've also tried tricks
like dup() and fdopen().

	Thanks for any help.

Peter Lu (swift@world.std.com)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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