summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-17 18:07:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-17 18:07:38 +0000
commit7966ad142b7387b44eb0f860f8444c98e8ff8f73 (patch)
treeb52ca6b5af94b68203759f10d16e4e6383fac3c4 /lib/libc
parent1a2af0b90341c7c1136523525583b5460a9312a8 (diff)
kleink: When fstat(2)ing a file descriptor of a local communications domain
socket, fill the socket's creation time into the stat structure's st_[acm]time fields: POSIX requires this behavior for pipe(2). N.B.: updating the st_[am]time fields when reading/writing the pipe is neither required nor implemented, though.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/pipe.25
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2
index e63e52d4372..693fca770cd 100644
--- a/lib/libc/sys/pipe.2
+++ b/lib/libc/sys/pipe.2
@@ -107,6 +107,11 @@ space.
.Xr write 2 ,
.Xr fork 2 ,
.Xr socketpair 2
+.Sh STANDARDS
+The
+.Fn pipe
+function conforms to
+.St -p1003.1-88 .
.Sh HISTORY
A
.Fn pipe