OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / getline.3
index 2e5146d..ae2b912 100644 (file)
@@ -1,6 +1,7 @@
 .\" 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.
@@ -20,7 +21,8 @@
 .\"
 .\" 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
@@ -105,7 +107,7 @@ As with
 .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
@@ -129,14 +131,14 @@ is NULL, or
 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>
@@ -163,7 +165,7 @@ main(void)
     exit(EXIT_SUCCESS);
 }
 .fi
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR read (2),
 .BR fgets (3),
 .BR fopen (3),