diff options
author | 2003-05-30 17:21:06 +0000 | |
---|---|---|
committer | 2003-05-30 17:21:06 +0000 | |
commit | ed2d24d7797aed9526de6b19a914e50f8acff740 (patch) | |
tree | 7f992ac918af1d0fc0d88cf5191859451fec0d69 /lib/libc/gen/popen.3 | |
parent | knf (diff) | |
download | wireguard-openbsd-ed2d24d7797aed9526de6b19a914e50f8acff740.tar.xz wireguard-openbsd-ed2d24d7797aed9526de6b19a914e50f8acff740.zip |
- correct macro usage
- section reorder
Diffstat (limited to 'lib/libc/gen/popen.3')
-rw-r--r-- | lib/libc/gen/popen.3 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3 index a83494f6e5f..7e01d522d12 100644 --- a/lib/libc/gen/popen.3 +++ b/lib/libc/gen/popen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: popen.3,v 1.10 2001/07/17 17:08:29 aaron Exp $ +.\" $OpenBSD: popen.3,v 1.11 2003/05/30 17:21:06 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -127,7 +127,7 @@ command, if already .Dq pclosed , or if -.Xr wait4 +.Xr wait4 2 returns an error. .Sh ERRORS The @@ -144,6 +144,13 @@ function does not reliably set .Xr fopen 3 , .Xr stdio 3 , .Xr system 3 +.Sh HISTORY +A +.Fn popen +and a +.Fn pclose +function appeared in +.At v7 . .Sh BUGS Since the standard input of a command opened for reading shares its seek offset with the process that called @@ -164,13 +171,6 @@ The only hint is an exit status of 127. The .Fn popen argument always calls -.Xr sh ; +.Xr sh 1 ; it never calls -.Xr csh . -.Sh HISTORY -A -.Fn popen -and a -.Fn pclose -function appeared in -.At v7 . +.Xr csh 1 . |