Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 1996 12:22:27 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        j@uriah.heep.sax.de, wpaul@skynet.ctr.columbia.edu
Cc:        bugs@freefall.freebsd.org, markd@Grizzly.COM
Subject:   Re: kern/1397: can't send to a pipe
Message-ID:  <199607190222.MAA29339@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>BUGS
>     Applying fstat() to a socket (and thus to a pipe) returns a zeroed
>     buffer, except for the blocksize field, and a unique device and inode
>     number.

>So there's a bug in the BUGS section in that the st_mode field is also
>being set.  Anyway, nobody could rely on it...

Also, the device and inode number don't seem to be set for sockets, so they
remain as zero and are non-unique.  They are certianly zero for nameless
pipes.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607190222.MAA29339>