[Haskell-cafe] Re: I/O system brokenness with named pipes
jgoerzen at complete.org
Wed Apr 16 14:10:52 EDT 2008
On Wed April 16 2008 12:20:37 pm Brandon S. Allbery KF8NH wrote:
> 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?
OK, so I shouldn't have said "it only works on Linux", but as far as I can
tell, it isn't standard (defined by POSIX). I don't presently have easy
access to non-Linux machines, but I do want to be as portable as possible.
More information about the Haskell-Cafe