Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2010 18:38:03 +0000 (UTC)
From:      Ulrich Spoerlein <uqs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r209349 - stable/8/lib/libc/stdio
Message-ID:  <201006191838.o5JIc3cR062306@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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