docs/124894: Spelling mistake in strlen(3)

Sam Banks samb at catalyst.net.nz
Mon Jun 23 02:30:05 UTC 2008


>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 at 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:



More information about the freebsd-doc mailing list