From commits-return-11792-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Sat Feb 26 18:55:17 2011 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 98100 invoked from network); 26 Feb 2011 18:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2011 18:55:17 -0000 Received: (qmail 82958 invoked by uid 500); 26 Feb 2011 18:55:17 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 82915 invoked by uid 500); 26 Feb 2011 18:55:17 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 82899 invoked by uid 99); 26 Feb 2011 18:55:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Feb 2011 18:55:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Feb 2011 18:55:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 022D52388903; Sat, 26 Feb 2011 18:54:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1074901 - /apr/apr/branches/1.4.x/include/apr_file_io.h Date: Sat, 26 Feb 2011 18:54:54 -0000 To: commits@apr.apache.org From: sf@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110226185455.022D52388903@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sf Date: Sat Feb 26 18:54:54 2011 New Revision: 1074901 URL: http://svn.apache.org/viewvc?rev=1074901&view=rev Log: clarify docs for apr_file_gets Modified: apr/apr/branches/1.4.x/include/apr_file_io.h Modified: apr/apr/branches/1.4.x/include/apr_file_io.h URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/include/apr_file_io.h?rev=1074901&r1=1074900&r2=1074901&view=diff ============================================================================== --- apr/apr/branches/1.4.x/include/apr_file_io.h (original) +++ apr/apr/branches/1.4.x/include/apr_file_io.h Sat Feb 26 18:54:54 2011 @@ -542,11 +542,12 @@ APR_DECLARE(apr_status_t) apr_file_getc( APR_DECLARE(apr_status_t) apr_file_ungetc(char ch, apr_file_t *thefile); /** - * Read a string from the specified file. + * Read a line from the specified file * @param str The buffer to store the string in. * @param len The length of the string * @param thefile The file descriptor to read from * @remark The buffer will be NUL-terminated if any characters are stored. + * The newline at the end of the line will not be stripped. */ APR_DECLARE(apr_status_t) apr_file_gets(char *str, int len, apr_file_t *thefile);