www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/05/21/11:21:58

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: FIFO
21 May 1998 11:21:58 -0700 :
Message-ID: <01BD8502.B2522A80.cygnus.cygwin32.developers@sos>
To: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>,
"'Christopher Faylor'" <cgf AT cygnus DOT com>

Christopher Faylor wrote:
> >Is anybody working on FIFO implementation?
>
> How could you do this in Windows?  A fifo lives on a filesystem, right?
>

Yes.

> I guess you could do something like add an option to 'mount' which
> identifies a file as a pipe which could be connected to.  Hmm...

No :-) FIFO file is a "system" file with a magic cookie and a predefined 
size (sizeof(cookie)+sizeof(control datas)+sizeof(fifo buffer)). fstat() 
call will distinguish between ordinary files and fifoes.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019