Mail Archives: cygwin-developers/1998/05/21/11:40:19
>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.
Yes. I was just "thinking out loud" that you could recognize the fifo
during the mount -> native filename translation. You wouldn't really
mount the file, but you could use the mount info to recognize it and
point to the correct handler. mkfifo() could set this up.
cgf
- Raw text -