Mail Archives: cygwin/2000/10/05/19:17:34
--- Earnie Boyd <earnie_boyd AT yahoo DOT com> wrote:
> --- Chris Faylor <cgf AT cygnus DOT 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.
http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/_crt__setmode.htm
Cheers,
=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -