OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / setbuf.3
index b9d41a9..87b1504 100644 (file)
@@ -5,6 +5,7 @@
 .\" the American National Standards Committee X3, on Information
 .\" Processing Systems.
 .\"
+.\" %%%LICENSE_START(BSD_4_CLAUSE_UCB)
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
@@ -32,6 +33,7 @@
 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
+.\" %%%LICENSE_END
 .\"
 .\"     @(#)setbuf.3   6.10 (Berkeley) 6/29/91
 .\"
@@ -43,7 +45,7 @@
 .\" Correction,  2000-03-03, Andreas Jaeger <aj@suse.de>
 .\" Added return value for setvbuf, aeb,
 .\"
-.TH SETBUF 3  2008-06-26 "Linux" "Linux Programmer's Manual"
+.TH SETBUF 3  2012-08-03 "Linux" "Linux Programmer's Manual"
 .SH NAME
 setbuf, setbuffer, setlinebuf, setvbuf \- stream buffering operations
 .SH SYNOPSIS
@@ -145,9 +147,9 @@ The
 function is exactly equivalent to the call:
 .PP
 .in +4n
-setvbuf(stream, (char *) NULL, _IOLBF, 0);
+setvbuf(stream, NULL, _IOLBF, 0);
 .in
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 The function
 .BR setvbuf ()
 returns 0 on success.
@@ -159,7 +161,7 @@ It may set
 on failure.
 
 The other functions do not return a value.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 The
 .BR setbuf ()
 and
@@ -195,7 +197,7 @@ main(void)
     return 0;
 }
 .fi
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR fclose (3),
 .BR fflush (3),
 .BR fopen (3),