summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/pwcache.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-06-04 01:30:10 +0000
committeraaron <aaron@openbsd.org>1999-06-04 01:30:10 +0000
commit545403d5ba85af10b0396609ee9da69f3c14f513 (patch)
treead6766d92500c863cf65c7f48b2bb6e4eeccae9c /lib/libc/gen/pwcache.3
parentstart swapping on the first swap device after initialization (diff)
downloadwireguard-openbsd-545403d5ba85af10b0396609ee9da69f3c14f513.tar.xz
wireguard-openbsd-545403d5ba85af10b0396609ee9da69f3c14f513.zip
After some constructive criticism from pjanzen@ and some e-mail tag:
- only use the .Dv NULL form when referring explicitly to a function argument or return value - otherwise, use these forms: o non-null o null-terminated (hyphenated form for predicate adjective) o else, null terminated, or null terminate, whichever the case o null pointer, null byte, null string, etc. - may use NUL to refer to an ASCII NUL, but it doesn't need a .Tn macro In general, capitalizing the word "null" everywhere is unnecessary and makes the man pages harder to read. The above is consistent with popular programming texts (i.e., K&R, Stevens).
Diffstat (limited to 'lib/libc/gen/pwcache.3')
-rw-r--r--lib/libc/gen/pwcache.310
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3
index 5ae01b7ae96..e350587e558 100644
--- a/lib/libc/gen/pwcache.3
+++ b/lib/libc/gen/pwcache.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pwcache.3,v 1.5 1999/05/20 14:50:35 aaron Exp $
+.\" $OpenBSD: pwcache.3,v 1.6 1999/06/04 01:30:11 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -59,9 +59,7 @@ to a string representation of the
.Fa uid ,
unless the argument
.Fa nouser
-is non-zero, in which case a
-.Dv NULL
-pointer is returned.
+is non-zero, in which case a null pointer is returned.
.Pp
The
.Fn group_from_gid
@@ -78,9 +76,7 @@ to a string representation of the
.Fa gid ,
unless the argument
.Fa nogroup
-is non-zero, in which case a
-.Dv NULL
-pointer is returned.
+is non-zero, in which case a null pointer is returned.
.Sh SEE ALSO
.Xr getgrgid 3 ,
.Xr getpwuid 3