summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/popen.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-05-29 22:38:33 +0000
committeraaron <aaron@openbsd.org>1999-05-29 22:38:33 +0000
commitd7403a2a9920cef3553a58e7c79772e68b7335a3 (patch)
tree6030842094a9cac170dccdd0c7ca3b749ae590b8 /lib/libc/gen/popen.3
parentrepairs (diff)
downloadwireguard-openbsd-d7403a2a9920cef3553a58e7c79772e68b7335a3.tar.xz
wireguard-openbsd-d7403a2a9920cef3553a58e7c79772e68b7335a3.zip
repairs; go back over some old files, because we should properly distinguish
between NUL and NULL, i.e., don't use the .Dv (defined variable) macro when referring to an ASCII NUL
Diffstat (limited to 'lib/libc/gen/popen.3')
-rw-r--r--lib/libc/gen/popen.38
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3
index 7795a02b14f..aaf07b5c457 100644
--- a/lib/libc/gen/popen.3
+++ b/lib/libc/gen/popen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: popen.3,v 1.4 1999/05/29 20:07:14 aaron Exp $
+.\" $OpenBSD: popen.3,v 1.5 1999/05/29 22:38:35 aaron Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -60,8 +60,7 @@ the resulting stream is correspondingly read-only or write-only.
.Pp
The
.Fa command
-argument is a pointer to a
-.Dv NULL Ns -terminated
+argument is a pointer to a NUL-terminated
string containing a shell command line.
This command is passed to
.Pa /bin/sh
@@ -70,8 +69,7 @@ using the
flag; interpretation, if any, is performed by the shell.
The
.Fa mode
-argument is a pointer to a
-.Dv NULL Ns -terminated
+argument is a pointer to a NUL-terminated
string which must be either
.Qq r
for reading