summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2007-05-16 17:36:58 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2007-05-16 17:36:58 +0000
commit161a4532b6266e2d96b1cb0fef9b737b7780df57 (patch)
treeaf050dd4cc61222e690c269241c4c89eac1a8f32 /lib
parent6530d32952e449edce4033fe19d99ecc0f8b427b (diff)
Make it clear, that the line returned does not have a
trailing newline in contrast to fgetln(3). ok ray@ jmc@ millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/fparseln.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/fparseln.3 b/lib/libutil/fparseln.3
index fb1234a73ef..8394982514b 100644
--- a/lib/libutil/fparseln.3
+++ b/lib/libutil/fparseln.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fparseln.3,v 1.5 2002/05/01 08:03:30 mpech Exp $
+.\" $OpenBSD: fparseln.3,v 1.6 2007/05/16 17:36:57 moritz Exp $
.\" $NetBSD: fparseln.3,v 1.7 1999/07/02 15:49:12 simonb Exp $
.\"
.\" Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -48,8 +48,8 @@ The
function
returns a pointer to the next logical line from the stream referenced by
.Fa stream .
-This string is null terminated and dynamically allocated on each
-invocation.
+This string is null terminated, contains no trailing newline,
+and is dynamically allocated on each invocation.
It is the responsibility of the caller to free the pointer.
.Pp
By default, if a character is escaped, both it and the preceding escape