From owner-svn-src-all@FreeBSD.ORG Sun Dec 9 04:15:52 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57841DA0; Sun, 9 Dec 2012 04:15:52 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3BC8B8FC08; Sun, 9 Dec 2012 04:15:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB94FqTP082746; Sun, 9 Dec 2012 04:15:52 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB94Fq2b082745; Sun, 9 Dec 2012 04:15:52 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201212090415.qB94Fq2b082745@svn.freebsd.org> From: Eitan Adler Date: Sun, 9 Dec 2012 04:15:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r244045 - stable/9/lib/libc/stdio X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 09 Dec 2012 04:15:52 -0000 Author: eadler Date: Sun Dec 9 04:15:51 2012 New Revision: 244045 URL: http://svnweb.freebsd.org/changeset/base/244045 Log: MFC r243753: The getline function returns the number of characters read, not written. Use clearer text for this. PR: docs/174023 Approved by: cperciva (implicit) Modified: stable/9/lib/libc/stdio/getline.3 Directory Properties: stable/9/lib/libc/ (props changed) Modified: stable/9/lib/libc/stdio/getline.3 ============================================================================== --- stable/9/lib/libc/stdio/getline.3 Sun Dec 9 01:08:44 2012 (r244044) +++ stable/9/lib/libc/stdio/getline.3 Sun Dec 9 04:15:51 2012 (r244045) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 30, 2010 +.Dd November 30, 2012 .Dt GETLINE 3 .Os .Sh NAME @@ -76,7 +76,7 @@ The .Fn getdelim and .Fn getline -functions return the number of characters written, excluding the +functions return the number of characters stored in the buffer, excluding the terminating .Dv NUL character.