Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
C file input/output
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Member types=== Data types defined in the {{mono|<stdio.h>}} header include: *{{mono|[https://en.cppreference.com/w/c/io FILE]}} β also known as a {{anchor|file handle}}'''file [[Handle (computing)|handle]]''' or a '''{{Visible anchor|FILE pointer}}''', this is an [[opaque pointer]] containing the information about a file or text stream needed to perform input or output operations on it, including: **platform-specific identifier of the associated I/O device, such as a [[file descriptor]] **the buffer **stream orientation indicator (unset, narrow, or wide) **stream buffering state indicator (unbuffered, line buffered, fully buffered) **I/O mode indicator (input stream, output stream, or update stream) **binary/text mode indicator **end-of-file indicator **error indicator **the current stream position and multibyte conversion state (an object of type mbstate_t) **reentrant lock (required as of [[C11 (C standard revision)|C11]]) *{{mono|fpos_t}} β a non-array type capable of uniquely identifying the position of every byte in a file and every conversion state that can occur in all supported multibyte character encodings *{{mono|size_t}} β an [[unsigned integer]] type which is the type of the result of the {{mono|[[sizeof]]}} operator.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)