diff options
author | 2007-05-16 17:36:57 +0000 | |
---|---|---|
committer | 2007-05-16 17:36:57 +0000 | |
commit | 955c0dc772f69b6e8ca0a9e80b1dcc4808fa2fc4 (patch) | |
tree | e51c8e2f9d1b90e11a7e64404d8aa6fb73a73e5e /lib/libutil | |
parent | Allow stripping of files, even if the destination filename (diff) | |
download | wireguard-openbsd-955c0dc772f69b6e8ca0a9e80b1dcc4808fa2fc4.tar.xz wireguard-openbsd-955c0dc772f69b6e8ca0a9e80b1dcc4808fa2fc4.zip |
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/libutil')
-rw-r--r-- | lib/libutil/fparseln.3 | 6 |
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 |