| Summary: | [patch] Typo of "NUL" in getline.3 man page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Jeremy Huddleston <jeremyhu> | ||||
| Component: | Books & Articles | Assignee: | Ulrich Spörlein <uqs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Jeremy Huddleston
2009-12-02 23:10:01 UTC
Hi Jeremy, I don't feel this change is needed. NUL is the common name for \0, as written in every ASCII table. Maybe "NUL character" would be clearer though. - Christian -- Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D State Changed From-To: open->patched Matteo committed the change I suggested in r200600. Thanks for the submission! Responsible Changed From-To: freebsd-doc->matteo Matteo, could you also handle the MFC? Responsible Changed From-To: matteo->freebsd-bugs Reset PR assigned to inactive committer. Hat: gnats-admin Responsible Changed From-To: freebsd-bugs->brucec Take. Author: uqs Date: Sat Jun 19 18:38:03 2010 New Revision: 209349 URL: http://svn.freebsd.org/changeset/base/209349 Log: MFH r200600: Clarify what's meant by NUL for getline.3 PR: docs/141125 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> Modified: stable/8/lib/libc/stdio/getline.3 Directory Properties: stable/8/lib/libc/ (props changed) Modified: stable/8/lib/libc/stdio/getline.3 ============================================================================== --- stable/8/lib/libc/stdio/getline.3 Sat Jun 19 18:13:31 2010 (r209348) +++ stable/8/lib/libc/stdio/getline.3 Sat Jun 19 18:38:03 2010 (r209349) @@ -78,7 +78,8 @@ and .Fn getline functions return the number of characters written, excluding the terminating -.Dv NUL . +.Dv NUL +character. 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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" Responsible Changed From-To: brucec->uqs MFC reminder. State Changed From-To: patched->closed Already MFCed, closing. Thanks for the submission! |