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: Bash patches


On Thu, Oct 05, 2000 at 04:16:32PM -0700, Earnie Boyd wrote:
>--- Earnie Boyd <earnie_boyd@yahoo.com> wrote:
>> --- Chris Faylor <cgf@cygnus.com> wrote:
>> > On Thu, Oct 05, 2000 at 04:43:00PM -0600, Erik Nolte wrote:
>> > >I haven't seen setmode(fd,mode) in any other POSIX environment.  Have I
>> just
>> > >missed it or is this a cywin specific thing?
>> > 
>> > It's a Windows/MS-DOS specific think, I believe.  It's necessary for
>> systems
>> > that distinguish between "text" and "binary".
>> > 
>> 
>> Hmm, interesting, I'd suggest doing a Google search for setmode.  Seems that
>> BSD has a different idea of what setmode() is to be used for.
>> 
>
>And I find that it should be _setmode( int handle, int mode ) for the LIBC,
>LIBCMT, MSVCRT equivalent.

_setmode works in cygwin, too, of course.  It can also work in MSVC.

cgf

--
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]