This is the mail archive of the
mailing list for the Cygwin project.
Re: binary mode
- To: BKish9079 at aol dot com, cygwin at sourceware dot cygnus dot com
- Subject: Re: binary mode
- From: cygwin at sourceware dot cygnus dot com
- Date: Wed, 19 Jan 2000 00:05:53 -0500
- References: <firstname.lastname@example.org> <20000118222450.B3627@cygnus.com>
- Reply-To: cygwin at sourceware dot cygnus dot com
On Tue, Jan 18, 2000 at 10:24:50PM -0500, email@example.com wrote:
>On Tue, Jan 18, 2000 at 06:57:13PM -0500, BKish9079@aol.com wrote:
>>How do I set it to binary mode?
It's been pointed out to me that my previous reply was less than helpful.
So, in the interest of being more than unhelpful, please provide the
mailing list a little more information on what you are trying to do.
Your simple question did not provide enough context to provide any
There are various ways of setting things in binmode.
You can specify the -b option to mount when you mount a directory.
You can set CYGWIN=binmode to control how devices (i.e., pipes) handle
You can open files in binmode using the fopen function by appending
a "b" to the second argument.
You can open files in binmode using the open function by appending
an "| O_BINARY" to the second argument.
If none of this helps, provide more details to this mailing list and
someone will surely be able to help.
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org