[Haskell-cafe] whatever happened to sendFile?
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Fri Aug 15 02:26:18 EDT 2008
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] 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