Module Name:    src
Committed By:   wiz
Date:           Tue Aug 25 16:28:26 UTC 2009

Modified Files:
        src/lib/libc/stdio: getdelim.3

Log Message:
Note some restrictions for getdelim arguments noted by joerg.
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdio/getdelim.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdio/getdelim.3
diff -u src/lib/libc/stdio/getdelim.3:1.2 src/lib/libc/stdio/getdelim.3:1.3
--- src/lib/libc/stdio/getdelim.3:1.2	Mon Jul 13 22:30:52 2009
+++ src/lib/libc/stdio/getdelim.3	Tue Aug 25 16:28:26 2009
@@ -1,4 +1,4 @@
-.\"     $NetBSD: getdelim.3,v 1.2 2009/07/13 22:30:52 wiz Exp $
+.\"     $NetBSD: getdelim.3,v 1.3 2009/08/25 16:28:26 wiz Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 12, 2009
+.Dd August 25, 2009
 .Dt GETDELIM 3
 .Os
 .Sh NAME
@@ -69,6 +69,13 @@
 .Fa *n
 to reflect the new size.
 .Pp
+.Fa delimiter
+must be representable as an unsigned char, and
+.Fa *lineptr
+must be a
+.Xr free(3) Ns No able
+buffer.
+.Pp
 .Fa getline
 is equivalent to
 .Fa getdelim

Reply via email to