summaryrefslogtreecommitdiff
path: root/lib/libc/gen/popen.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-29 22:38:38 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-29 22:38:38 +0000
commit433594a7d76d560485c3bdb52ab87c64b008e168 (patch)
tree5345f18b21ad05187d084366eb8668da984821da /lib/libc/gen/popen.3
parente995764d51674c3bfd0717fdfbf24af85952e88e (diff)
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