summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-06-02 10:50:25 +0000
committered <ed@FreeBSD.org>2012-06-02 10:50:25 +0000
commit2abbdfc576b6a91bff16d4b622979a9b7c672ded (patch)
tree65b1f5e9239e44a6ff4fe86ea156c63162b9afe1 /lib
parent8bdc66830586800e34b27d5efd68dd80bece881a (diff)
downloadFreeBSD-src-2abbdfc576b6a91bff16d4b622979a9b7c672ded.zip
FreeBSD-src-2abbdfc576b6a91bff16d4b622979a9b7c672ded.tar.gz
Remove invalid remark about pipes.
The stat structures returned on pipes seems to contain all the information required by POSIX. Especially the wording "and thus to a pipe" makes little sense, because it seems to imply a certain relationship between sockets and pipes that simply isn't there. MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/stat.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index b6c03ab..5e49b3c 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -28,7 +28,7 @@
.\" @(#)stat.2 8.4 (Berkeley) 5/1/95
.\" $FreeBSD$
.\"
-.Dd November 17, 2011
+.Dd June 2, 2012
.Dt STAT 2
.Os
.Sh NAME
@@ -431,7 +431,7 @@ system call appeared in
.Sh BUGS
Applying
.Fn fstat
-to a socket (and thus to a pipe)
+to a socket
returns a zeroed buffer,
except for the blocksize field,
and a unique device and inode number.
OpenPOWER on IntegriCloud