.\" Copyright (c) 2001 John Levon <moz@compsoc.man.ac.uk>
.\" Based in part on GNU libc documentation
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
-.\" License.
+.\" %%%LICENSE_END
+.\"
.TH GETLINE 3 2010-06-12 "GNU" "Linux Programmer's Manual"
.SH NAME
getline, getdelim \- delimited string input
.BR getline (),
a delimiter character is not added if one was not present
in the input before end of file was reached.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
On success,
.BR getline ()
and
is not valid).
.SH VERSIONS
These functions are available since libc 4.6.27.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
Both
.BR getline ()
and
.BR getdelim ()
were originally GNU extensions.
They were standardized in POSIX.1-2008.
-.SH "EXAMPLE"
+.SH EXAMPLE
.nf
#define _GNU_SOURCE
#include <stdio.h>
exit(EXIT_SUCCESS);
}
.fi
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR read (2),
.BR fgets (3),
.BR fopen (3),