summaryrefslogtreecommitdiff
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
commit8e555d953d4a7e8702ccb2d29b39ad91d179ce95 (patch)
tree6c0a9ec621640942bf2aabca87382a65abb1cd77 /lib/libc/regex
parent8dcf2d1387109e43cabbf8b12a6bf3dd3ed2613d (diff)
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/regex.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index f7e080b610b..cd1c146d0fc 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: regex.3,v 1.19 2004/02/10 19:58:21 jmc Exp $
+.\" $OpenBSD: regex.3,v 1.20 2005/02/25 03:12:44 cloder Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
.\"
@@ -213,7 +213,7 @@ The compiled form is not altered during execution of
so a single compiled RE can be used simultaneously by multiple threads.
.Pp
By default,
-the null-terminated string pointed to by
+the NUL-terminated string pointed to by
.Fa string
is considered to be the text of an entire line, minus any terminating
newline.
@@ -399,7 +399,7 @@ may be able to supply a more detailed message using information
from the
.Li regex_t . )
.Fn regerror
-places the null-terminated message into the buffer pointed to by
+places the NUL-terminated message into the buffer pointed to by
.Fa errbuf ,
limiting the length (including the NUL) to at most
.Fa errbuf_size