On 2008 Aug 15, at 2:23, Richard A. O'Keefe wrote:
On 15 Aug 2008, at 12:17 pm, Brandon S. Allbery KF8NH wrote:
Actually, while I'm not sure how Linux does it, on the *BSDs pipes are actually socketpairs.

This raises the question, which the documentation did not make clear to me,
whether a "named pipe" is a pipe.  One would hope it was, but
S_IFIFO and S_IFSOCK are different...

They have to be: bound AF_UNIX sockets and fifos have very different semantics. That said, fifos could still be a different socket type, just as pipes are a distinct socket type.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to