[Haskell-cafe] Re: I/O system brokenness with named pipes

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Apr 16 13:20:37 EDT 2008


On Apr 16, 2008, at 11:16 , John Goerzen wrote:
> On 2008-04-15, Joe Buehler <jbuehler at spirentcom.com> wrote:
>> John Goerzen wrote:
>>
>>> So I have a need to write data to a POSIX named pipe (aka FIFO).   
>>> Long
>>> story involving a command that doesn't have an option to read data
>>> from stdin, but can from a named pipe.
>>
>> How about /dev/stdin?
>
> Only works on Linux.

Hm.  I see it even on our ancient Solaris 8 boxes.  And I'm quite  
sure the *BSDs support it as well.  Just how ancient / weird is this  
"POSIX" platform of yours?

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list