stdio h function: The stdio.h header file includes C standard library functions to perform input and output operation. It contains functions performing input and output operations on stdin, stdout and stderr as well as on file. It contains functions defined specifically for a particular data type like getchar and generic functions like printf and scanf.
List of stdio.h Library Functions
Click on function names below to see detailed description of functions.
|Clears error indicators associated with a given stream.
|Closes the stream and flushes buffers associated with the given stream.
|Checks the end-of-file indicator of the given stream.
|Checks the error indicator of the given stream.
|Flushes the content of the given stream.
|Gets the next character from the given stream.
|Gets current position of the given stream.
|Reads a line from given stream and stores it into a character array.
|Opens a file in the given mode.
|Writes formatted output to a stream.
|Writes a character to the given stream.
|Writes a string to the given stream excluding the null terminating character.
|Reads data from the given stream and stores it into an array.
|Reopens a stream with different file or mode.
|Read formatted data from given stream.
|Changes the position indicator of the given stream.
|Sets the position indicator of the given stream.
|Returns the current position of the given stream.
|Writes data from an array to the given stream.
|Gets the next character from the given stream and increments the position indicator.
|Returns a character from stdin stream.
|Reads a line from stdin and stores it into given character array.
|Prints an error message to stderr.
|Print formatted data to stdout.
|Writes a character to the given stream and increment the position indicator.
|Writes a character to stdout stream.
|Writes a string to stdout stream excluding null terminating character.
|Deletes a file.
|Changes the name of an existing file.
|Reset the position indicator to the beginning of the file.
|Reads formatted data from stdin.
|Sets buffer for the given stream.
|Sets buffer for the given stream with various buffering modes.
|Writes formatted data to given string.
|Reads formatted data from given string.
|Creates a temporary file having unique file name.
|Generates and unique and valid temporary filename.
|Pushes a character back to the given stream.
|Writes formatted data to a stream using an argument list.
|Print formatted data to stdout using an argument list.
|Writes formatted data to a string using an argument list.
Data Types in stdio.h Library
|An object used for storing any position within a file.
|An object containing information of a file or stream.
|An unsigned integral type.