Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2008 02:27:58 GMT
From:      Sam Banks <samb@catalyst.net.nz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/124894: Spelling mistake in strlen(3)
Message-ID:  <200806230227.m5N2RwxH004797@www.freebsd.org>
Resent-Message-ID: <200806230230.m5N2U4Lc034852@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124894
>Category:       docs
>Synopsis:       Spelling mistake in strlen(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 23 02:30:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sam Banks
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD wolfie.evil 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sat Mar  1 09:59:25 NZDT 2008     root@wolfie.evil:/usr/obj/usr/src/sys/WOLFIE  i386
>Description:
NULL is spelled NUL inside strlen(3).
>How-To-Repeat:
man 3 strlen
>Fix:
Attached patch.

Patch attached with submission follows:

Index: strlen.3
===================================================================
--- strlen.3	(revision 179865)
+++ strlen.3	(working copy)
@@ -57,7 +57,7 @@
 returns
 the number of characters that precede the
 terminating
-.Dv NUL
+.Dv NULL
 character.
 .Sh SEE ALSO
 .Xr string 3


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806230227.m5N2RwxH004797>