summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-12-29 22:31:50 +0000
committerderaadt <deraadt@openbsd.org>1997-12-29 22:31:50 +0000
commitf9af282d065f26345d8ed01be06899d5fc4dc606 (patch)
treeb18d6ce316bf12379383b5009a0aa79a6b84cd07 /lib/libc/string
parentDon't complain that someone's changed the clock unless the time (diff)
downloadwireguard-openbsd-f9af282d065f26345d8ed01be06899d5fc4dc606.tar.xz
wireguard-openbsd-f9af282d065f26345d8ed01be06899d5fc4dc606.zip
NUL not NULL
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strchr.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strchr.3 b/lib/libc/string/strchr.3
index 806fe734da9..c3bc2f88174 100644
--- a/lib/libc/string/strchr.3
+++ b/lib/libc/string/strchr.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strchr.3,v 1.2 1996/08/19 08:34:11 tholo Exp $
+.\" $OpenBSD: strchr.3,v 1.3 1997/12/29 22:31:50 deraadt Exp $
.\"
.Dd June 29, 1991
.Dt STRCHR 3
@@ -53,7 +53,7 @@ function locates the first occurrence of
in the string pointed to by
.Ar s .
The terminating
-.Dv NULL
+.Dv NUL
character is considered part of the string.
If
.Fa c