From owner-svn-src-all@FreeBSD.ORG Wed Dec 16 04:19:23 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A84EA106566B; Wed, 16 Dec 2009 04:19:23 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 97A4C8FC18; Wed, 16 Dec 2009 04:19:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBG4JNrB084770; Wed, 16 Dec 2009 04:19:23 GMT (envelope-from matteo@svn.freebsd.org) Received: (from matteo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBG4JNbR084768; Wed, 16 Dec 2009 04:19:23 GMT (envelope-from matteo@svn.freebsd.org) Message-Id: <200912160419.nBG4JNbR084768@svn.freebsd.org> From: Matteo Riondato Date: Wed, 16 Dec 2009 04:19:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200600 - head/lib/libc/stdio X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 04:19:23 -0000 Author: matteo Date: Wed Dec 16 04:19:23 2009 New Revision: 200600 URL: http://svn.freebsd.org/changeset/base/200600 Log: Modified: head/lib/libc/stdio/getline.3 Modified: head/lib/libc/stdio/getline.3 ============================================================================== --- head/lib/libc/stdio/getline.3 Wed Dec 16 03:29:00 2009 (r200599) +++ head/lib/libc/stdio/getline.3 Wed Dec 16 04:19:23 2009 (r200600) @@ -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