mirror of https://github.com/mkerrisk/man-pages
getline.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4e35cec684
commit
6f1b61a111
|
@ -47,9 +47,11 @@ _GNU_SOURCE
|
|||
|
||||
Since glibc 2.10:
|
||||
.br
|
||||
.ad l
|
||||
.BR getline (),
|
||||
.BR getdelim ():
|
||||
_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700
|
||||
_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
.BR getline ()
|
||||
reads an entire line from \fIstream\fP,
|
||||
|
@ -95,7 +97,7 @@ will be updated to reflect the buffer address and allocated size respectively.
|
|||
.BR getdelim ()
|
||||
works like
|
||||
.BR getline (),
|
||||
except a line delimiter other than newline can be specified as the
|
||||
except that a line delimiter other than newline can be specified as the
|
||||
.I delimiter
|
||||
argument.
|
||||
As with
|
||||
|
|
Loading…
Reference in New Issue