Deleted Added
full compact
stdio.3 (84306) stdio.3 (101776)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)stdio.3 8.7 (Berkeley) 4/19/94
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)stdio.3 8.7 (Berkeley) 4/19/94
33.\" $FreeBSD: head/lib/libc/stdio/stdio.3 84306 2001-10-01 16:09:29Z ru $
33.\" $FreeBSD: head/lib/libc/stdio/stdio.3 101776 2002-08-13 09:30:41Z tjr $
34.\"
34.\"
35.Dd April 19, 1994
35.Dd August 11, 2002
36.Dt STDIO 3
37.Os
38.Sh NAME
39.Nm stdio
40.Nd standard input/output library functions
41.Sh LIBRARY
42.Lb libc
43.Sh SYNOPSIS

--- 145 unchanged lines hidden (view full) ---

189.Dv clearerr ,
190.Dv feof ,
191.Dv ferror ,
192.Dv fileno ,
193.Dv fropen ,
194.Dv fwopen ,
195.Dv getc ,
196.Dv getchar ,
36.Dt STDIO 3
37.Os
38.Sh NAME
39.Nm stdio
40.Nd standard input/output library functions
41.Sh LIBRARY
42.Lb libc
43.Sh SYNOPSIS

--- 145 unchanged lines hidden (view full) ---

189.Dv clearerr ,
190.Dv feof ,
191.Dv ferror ,
192.Dv fileno ,
193.Dv fropen ,
194.Dv fwopen ,
195.Dv getc ,
196.Dv getchar ,
197.Dv getwc ,
198.Dv getwchar ,
197.Dv putc ,
198.Dv putchar ,
199.Dv putc ,
200.Dv putchar ,
201.Dv putwc ,
202.Dv putwchar ,
199.Dv stderr ,
200.Dv stdin ,
201.Dv stdout ,
202.Dv vfscanf .
203Function versions of the macro functions
204.Fn clearerr ,
205.Fn feof ,
206.Fn ferror ,
207.Fn fileno ,
208.Fn getc ,
209.Fn getchar ,
203.Dv stderr ,
204.Dv stdin ,
205.Dv stdout ,
206.Dv vfscanf .
207Function versions of the macro functions
208.Fn clearerr ,
209.Fn feof ,
210.Fn ferror ,
211.Fn fileno ,
212.Fn getc ,
213.Fn getchar ,
214.Fn getwc ,
215.Fn getwchar ,
210.Fn putc ,
216.Fn putc ,
217.Fn putchar ,
218.Fn putwc
211and
219and
212.Fn putchar
220.Fn putwchar
213exist and will be used if the macro
214definitions are explicitly removed.
215.Sh SEE ALSO
216.Xr close 2 ,
217.Xr open 2 ,
218.Xr read 2 ,
219.Xr write 2
220.Sh BUGS
221The standard buffered functions do not interact well with certain other
222library and system functions, especially
223.Xr vfork 2 .
224.Sh STANDARDS
225The
226.Nm
227library conforms to
221exist and will be used if the macro
222definitions are explicitly removed.
223.Sh SEE ALSO
224.Xr close 2 ,
225.Xr open 2 ,
226.Xr read 2 ,
227.Xr write 2
228.Sh BUGS
229The standard buffered functions do not interact well with certain other
230library and system functions, especially
231.Xr vfork 2 .
232.Sh STANDARDS
233The
234.Nm
235library conforms to
228.St -isoC .
236.St -isoC-99 .
229.Sh LIST OF FUNCTIONS
230.Bl -column "Description"
231.It Sy "Function Description"
232.It "asprintf formatted output conversion"
233.It "clearerr check and reset stream status"
234.It "fclose close a stream"
235.It "fdopen stream open functions"
236.It "feof check and reset stream status"
237.It "ferror check and reset stream status"
238.It "fflush flush a stream"
239.It "fgetc get next character or word from input stream"
240.It "fgetln get a line from a stream"
241.It "fgetpos reposition a stream"
242.It "fgets get a line from a stream"
237.Sh LIST OF FUNCTIONS
238.Bl -column "Description"
239.It Sy "Function Description"
240.It "asprintf formatted output conversion"
241.It "clearerr check and reset stream status"
242.It "fclose close a stream"
243.It "fdopen stream open functions"
244.It "feof check and reset stream status"
245.It "ferror check and reset stream status"
246.It "fflush flush a stream"
247.It "fgetc get next character or word from input stream"
248.It "fgetln get a line from a stream"
249.It "fgetpos reposition a stream"
250.It "fgets get a line from a stream"
251.It "fgetwc get next wide character from input stream"
252.It "fgetws get a line of wide characters from a stream"
243.It "fileno check and reset stream status"
244.It "fopen stream open functions"
245.It "fprintf formatted output conversion"
246.It "fpurge flush a stream"
247.It "fputc output a character or word to a stream"
248.It "fputs output a line to a stream"
253.It "fileno check and reset stream status"
254.It "fopen stream open functions"
255.It "fprintf formatted output conversion"
256.It "fpurge flush a stream"
257.It "fputc output a character or word to a stream"
258.It "fputs output a line to a stream"
259.It "fputwc output a wide character to a stream"
260.It "fputws output a line of wide characters to a stream"
249.It "fread binary stream input/output"
250.It "freopen stream open functions"
251.It "fropen open a stream"
252.It "fscanf input format conversion"
253.It "fseek reposition a stream"
254.It "fsetpos reposition a stream"
255.It "ftell reposition a stream"
256.It "funopen open a stream"
261.It "fread binary stream input/output"
262.It "freopen stream open functions"
263.It "fropen open a stream"
264.It "fscanf input format conversion"
265.It "fseek reposition a stream"
266.It "fsetpos reposition a stream"
267.It "ftell reposition a stream"
268.It "funopen open a stream"
269.It "fwide set/get orientation of stream"
257.It "fwopen open a stream"
258.It "fwrite binary stream input/output"
259.It "getc get next character or word from input stream"
260.It "getchar get next character or word from input stream"
261.It "gets get a line from a stream"
262.It "getw get next character or word from input stream"
270.It "fwopen open a stream"
271.It "fwrite binary stream input/output"
272.It "getc get next character or word from input stream"
273.It "getchar get next character or word from input stream"
274.It "gets get a line from a stream"
275.It "getw get next character or word from input stream"
276.It "getwc get next wide character from input stream"
277.It "getwchar get next wide character from input stream"
263.It "mkdtemp create unique temporary file"
264.It "mkstemp create unique temporary file"
265.It "mktemp create unique temporary file"
266.It "perror system error messages"
267.It "printf formatted output conversion"
268.It "putc output a character or word to a stream"
269.It "putchar output a character or word to a stream"
270.It "puts output a line to a stream"
271.It "putw output a character or word to a stream"
278.It "mkdtemp create unique temporary file"
279.It "mkstemp create unique temporary file"
280.It "mktemp create unique temporary file"
281.It "perror system error messages"
282.It "printf formatted output conversion"
283.It "putc output a character or word to a stream"
284.It "putchar output a character or word to a stream"
285.It "puts output a line to a stream"
286.It "putw output a character or word to a stream"
287.It "putwc output a wide character to a stream"
288.It "putwchar output a wide character to a stream"
272.It "remove remove directory entry"
273.It "rewind reposition a stream"
274.It "scanf input format conversion"
275.It "setbuf stream buffering operations"
276.It "setbuffer stream buffering operations"
277.It "setlinebuf stream buffering operations"
278.It "setvbuf stream buffering operations"
279.It "snprintf formatted output conversion"
280.It "sprintf formatted output conversion"
281.It "sscanf input format conversion"
282.It "strerror system error messages"
283.It "sys_errlist system error messages"
284.It "sys_nerr system error messages"
285.It "tempnam temporary file routines"
286.It "tmpfile temporary file routines"
287.It "tmpnam temporary file routines"
288.It "ungetc un-get character from input stream"
289.It "remove remove directory entry"
290.It "rewind reposition a stream"
291.It "scanf input format conversion"
292.It "setbuf stream buffering operations"
293.It "setbuffer stream buffering operations"
294.It "setlinebuf stream buffering operations"
295.It "setvbuf stream buffering operations"
296.It "snprintf formatted output conversion"
297.It "sprintf formatted output conversion"
298.It "sscanf input format conversion"
299.It "strerror system error messages"
300.It "sys_errlist system error messages"
301.It "sys_nerr system error messages"
302.It "tempnam temporary file routines"
303.It "tmpfile temporary file routines"
304.It "tmpnam temporary file routines"
305.It "ungetc un-get character from input stream"
306.It "ungetwc un-get wide character from input stream"
289.It "vasprintf formatted output conversion"
290.It "vfprintf formatted output conversion"
291.It "vfscanf input format conversion"
292.It "vprintf formatted output conversion"
293.It "vscanf input format conversion"
294.It "vsnprintf formatted output conversion"
295.It "vsprintf formatted output conversion"
296.It "vsscanf input format conversion"
297.El
307.It "vasprintf formatted output conversion"
308.It "vfprintf formatted output conversion"
309.It "vfscanf input format conversion"
310.It "vprintf formatted output conversion"
311.It "vscanf input format conversion"
312.It "vsnprintf formatted output conversion"
313.It "vsprintf formatted output conversion"
314.It "vsscanf input format conversion"
315.El