diff options
author | 2005-02-25 03:12:43 +0000 | |
---|---|---|
committer | 2005-02-25 03:12:43 +0000 | |
commit | 1e5ede29f718fe4f17c128f8fde29ac3824349f1 (patch) | |
tree | fd6e65cd34239687cd19bb98f99ffdf5a9155023 /lib/libc/regex/regex.3 | |
parent | Fix an obviously incorrect call to memset. '0' and 0 are not the same (diff) | |
download | wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.tar.xz wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.zip |
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/regex.3')
-rw-r--r-- | lib/libc/regex/regex.3 | 6 |
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 |