Showing content from https://en.cppreference.com/w/cpp/language/../io/c.html below:
C-style file input/output - cppreference.com
The C I/O subset of the C++ standard library implements C-style stream input/output operations. The <cstdio> header provides generic file operation support and supplies functions with narrow and multibyte character input/output capabilities, and the <cwchar> header provides functions with wide character input/output capabilities.
C streams are denoted by objects of type std::FILE that can only be accessed and manipulated through pointers of type std::FILE*. Each C stream is associated with an external physical device (file, standard input stream, printer, serial port, etc).
[edit] Types object type, capable of holding all information needed to control a C I/O stream
(typedef) [edit] complete non-array object type, capable of uniquely specifying a position in a file, including its multibyte parse state
(typedef) [edit] [edit] Predefined standard streams 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) [edit] [edit] Functions [edit] Macro constants integer constant expression of type int and negative value
(macro constant) number of files that can be open simultaneously
(macro constant) size needed for an array of char to hold the longest supported file name
(macro constant) size of the buffer used by std::setbuf
(macro constant) 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) 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) maximum number of unique filenames that is guaranteed to be generatable by std::tmpnam
(macro constant) size needed for an array of char to hold the result of std::tmpnam
(macro constant) [edit] See also
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4