docs/141125: Typo of "NUL" in getline.3 man page

Jeremy Huddleston jeremyhu at apple.com
Wed Dec 2 23:10:02 UTC 2009


>Number:         141125
>Category:       docs
>Synopsis:       Typo of "NUL" in getline.3 man page
>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:   Wed Dec 02 23:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Huddleston
>Release:        8.0
>Organization:
Apple
>Environment:
NA
>Description:
"NUL" was written where it should've been "NULL" in getline.3

>How-To-Repeat:

>Fix:
Index: getline.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/stdio/getline.3,v
retrieving revision 1.2
diff -u -p -r1.2 getline.3
--- getline.3	6 Apr 2009 13:50:04 -0000	1.2
+++ getline.3	2 Dec 2009 23:05:48 -0000
@@ -78,7 +78,7 @@ and
 .Fn getline
 functions return the number of characters written, excluding the
 terminating
-.Dv NUL .
+.Dv NULL .
 The value \-1 is returned if an error occurs, or if end-of-file is reached.
 .Sh EXAMPLES
 The following code fragment reads lines from a file and


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



More information about the freebsd-doc mailing list