Loading...
stdio/FreeBSD/stdio.3 Libc-763.13 Libc-320.1.3
--- Libc/Libc-763.13/stdio/FreeBSD/stdio.3
+++ Libc/Libc-320.1.3/stdio/FreeBSD/stdio.3
@@ -9,6 +9,10 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"	This product includes software developed by the University of
+.\"	California, Berkeley and its contributors.
 .\" 4. Neither the name of the University nor the names of its contributors
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
@@ -26,9 +30,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)stdio.3	8.7 (Berkeley) 4/19/94
-.\" $FreeBSD: src/lib/libc/stdio/stdio.3,v 1.30 2009/03/04 03:38:51 das Exp $
+.\" $FreeBSD: src/lib/libc/stdio/stdio.3,v 1.24 2003/02/23 01:47:47 ru Exp $
 .\"
-.Dd March 3, 2009
+.Dd January 10, 2003
 .Dt STDIO 3
 .Os
 .Sh NAME
@@ -88,19 +92,15 @@
 .Pp
 A file may be subsequently reopened, by the same or another program
 execution, and its contents reclaimed or modified (if it can be repositioned
-at the start).
-If the main function returns to its original caller, or
+at the start).  If the main function returns to its original caller, or
 the
 .Xr exit 3
 function is called, all open files are closed (hence all output
-streams are flushed) before program termination.
-Other methods
+streams are flushed) before program termination.  Other methods
 of program termination may not close files properly and hence
-buffered output may be lost.
-In particular,
+buffered output may be lost.  In particular,
 .Xr _exit 2
-does not flush stdio files.
-Neither does an exit due to a signal.
+does not flush stdio files.  Neither does an exit due to a signal.
 Buffers are flushed by
 .Xr abort 3
 as required by POSIX, although previous implementations did not.
@@ -186,44 +186,28 @@
 .Dv SEEK_END ,
 .Dv SEEK_SET ,
 .Dv TMP_MAX ,
-.Dv clearerr ,
 .Dv clearerr_unlocked ,
-.Dv feof ,
 .Dv feof_unlocked ,
-.Dv ferror ,
 .Dv ferror_unlocked ,
-.Dv fileno ,
 .Dv fileno_unlocked ,
 .Dv fropen ,
 .Dv fwopen ,
-.Dv getc ,
 .Dv getc_unlocked ,
-.Dv getchar ,
 .Dv getchar_unlocked ,
-.Dv putc ,
 .Dv putc_unlocked ,
-.Dv putchar ,
 .Dv putchar_unlocked ,
 .Dv stderr ,
 .Dv stdin
 and
 .Dv stdout .
 Function versions of the macro functions
-.Dv clearerr ,
 .Dv clearerr_unlocked ,
-.Dv feof ,
 .Dv feof_unlocked ,
-.Dv ferror ,
 .Dv ferror_unlocked ,
-.Dv fileno ,
 .Dv fileno_unlocked ,
-.Dv getc ,
 .Dv getc_unlocked ,
-.Dv getchar ,
 .Dv getchar_unlocked ,
-.Dv putc ,
-.Dv putc_unlocked ,
-.Dv putchar ,
+.Dv putc_unlocked
 and
 .Dv putchar_unlocked
 exist and will be used if the macro
@@ -233,6 +217,10 @@
 .Xr open 2 ,
 .Xr read 2 ,
 .Xr write 2
+.Sh BUGS
+The standard buffered functions do not interact well with certain other
+library and system functions, especially
+.Xr vfork 2 .
 .Sh STANDARDS
 The
 .Nm
@@ -243,7 +231,6 @@
 .It Sy "Function	Description"
 .It "asprintf	formatted output conversion"
 .It "clearerr	check and reset stream status"
-.It "dprintf	formatted output conversion"
 .It "fclose	close a stream"
 .It "fdopen	stream open functions"
 .It "feof	check and reset stream status"
@@ -277,8 +264,6 @@
 .It "fwrite	binary stream input/output"
 .It "getc	get next character or word from input stream"
 .It "getchar	get next character or word from input stream"
-.It "getdelim	get a line from a stream"
-.It "getline	get a line from a stream"
 .It "gets	get a line from a stream"
 .It "getw	get next character or word from input stream"
 .It "getwc	get next wide character from input stream"
@@ -314,7 +299,6 @@
 .It "ungetc	un-get character from input stream"
 .It "ungetwc	un-get wide character from input stream"
 .It "vasprintf	formatted output conversion"
-.It "vdprintf	formatted output conversion"
 .It "vfprintf	formatted output conversion"
 .It "vfscanf	input format conversion"
 .It "vfwprintf	formatted wide character output conversion"
@@ -327,7 +311,3 @@
 .It "vwprintf	formatted wide character output conversion"
 .It "wprintf	formatted wide character output conversion"
 .El
-.Sh BUGS
-The standard buffered functions do not interact well with certain other
-library and system functions, especially
-.Xr vfork 2 .