Standard library header <cstdio>
From cppreference.com
This header was originally in the C standard library as <stdio.h>.
This header is part of the C-style input/output library.
Types | ||
object type, capable of holding all information needed to control a C I/O stream (typedef) | ||
complete non-array object type, capable of uniquely specifying a position in a file, including its multibyte parse state (typedef) | ||
unsigned integer type returned by the sizeof operator (typedef) | ||
Macros | ||
implementation-defined null pointer constant (macro constant) | ||
expression of type FILE* associated with the input stream expression of type FILE* associated with the output stream expression of type FILE* associated with the error output stream (macro constant) | ||
EOF |
integer constant expression of type int and negative value (macro constant) | |
FOPEN_MAX |
number of files that can be open simultaneously (macro constant) | |
FILENAME_MAX |
size needed for an array of char to hold the longest supported file name (macro constant) | |
BUFSIZ |
size of the buffer used by std::setbuf (macro constant) | |
_IOFBF_IOLBF_IONBF |
argument to std::setbuf indicating fully buffered I/O argument to std::setbuf indicating line buffered I/O argument to std::setbuf indicating unbuffered I/O (macro constant) | |
SEEK_SETSEEK_CURSEEK_END |
argument to std::fseek indicating seeking from beginning of the file argument to std::fseek indicating seeking from the current file position argument to std::fseek indicating seeking from end of the file (macro constant) | |
TMP_MAX |
maximum number of unique filenames that can be generated by std::tmpnam (macro constant) | |
L_tmpnam |
size needed for an array of char to hold the result of std::tmpnam (macro constant) | |
Functions | ||
File access | ||
opens a file (function) | ||
open an existing stream with a different name (function) | ||
closes a file (function) | ||
synchronizes an output stream with the actual file (function) | ||
sets the buffer for a file stream (function) | ||
sets the buffer and its size for a file stream (function) | ||
Direct input/output | ||
|