stdio \- standard buffered input/output package
The functions described in Sections 3S constitute an efficient
user-level buffering scheme.
handle characters quickly.
The higher level routines
.I "gets, fgets, scanf, fscanf, fread,"
.I "puts, fputs, printf, fprintf, fwrite"
they can be freely intermixed.
A file with associated buffering is called a
and is declared to be a pointer to a defined type
creates certain descriptive data for a stream
and returns a pointer to designate the stream in all
There are three normally open streams with constant
the include file and associated with the standard open files:
designates no stream at all.
upon end of file or error by integer functions that
Any routine that uses the standard input/output package
must include the header file <stdio.h> of pertinent
The functions and constants mentioned in sections labeled 3S
are declared in the include file
and need no further declaration.
The constants, and the following `functions' are
implemented as macros; redeclaration of these names
open(2), close(2), read(2), write(2)
is returned uniformly to indicate that a
pointer has not been initialized with
input (output) has been attempted on an output (input) stream,
pointer designates corrupt or otherwise unintelligible