Browse Source

Make it clear, that the line returned does not have a

trailing newline in contrast to fgetln(3).
ok ray@ jmc@ millert@
OPENBSD_4_2
moritz 17 years ago
parent
commit
a7932d616e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libutil/fparseln.3

+ 3
- 3
src/lib/libutil/fparseln.3 View File

@ -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 $ .\" $NetBSD: fparseln.3,v 1.7 1999/07/02 15:49:12 simonb Exp $
.\" .\"
.\" Copyright (c) 1997 Christos Zoulas. All rights reserved. .\" Copyright (c) 1997 Christos Zoulas. All rights reserved.
@ -48,8 +48,8 @@ The
function function
returns a pointer to the next logical line from the stream referenced by returns a pointer to the next logical line from the stream referenced by
.Fa stream . .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. It is the responsibility of the caller to free the pointer.
.Pp .Pp
By default, if a character is escaped, both it and the preceding escape By default, if a character is escaped, both it and the preceding escape


Loading…
Cancel
Save