summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/pipe.2
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-17 18:07:37 +0000
committerderaadt <deraadt@openbsd.org>1997-11-17 18:07:37 +0000
commitb20064908c92df768b04254b94777ef1d4fbeab2 (patch)
tree5ab3d892326fa0a51abcf7be56f37f96c4f57376 /lib/libc/sys/pipe.2
parentold bootblocks went away (diff)
downloadwireguard-openbsd-b20064908c92df768b04254b94777ef1d4fbeab2.tar.xz
wireguard-openbsd-b20064908c92df768b04254b94777ef1d4fbeab2.zip
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/sys/pipe.2')
-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