In addition to the predefined low level handles, the following global stream variables
are defined:
stdin, stdout & stderr.
_fmode may by updated to change the default open mode.
Routine | Use |
clearerr | Clear error indicator for stream |
_fcloseall | Closes all open streams, except stdin, stdout & stderr |
fclose | Closes an open stream |
_fdopen | Open a stream with a low level I/O handle |
feof | Test for the End Of File |
ferror | Test for an error on a stream |
fflush | Flush a streams buffers |
fgetc | Get a character from a stream |
_fgetchar | Get a character from a stream |
fgetpos | Save the position in a stream |
fgets | Get a string from a stream |
_filelength | Calculate the length of a file |
_fileno | Return the low level I/O handle of a stream |
_flushall | Flush all open streams |
fopen | Open a stream |
fprintf | Print formatted data to a stream |
fputc | Output a character to a stream |
_fputchar | Output a character to a stream |
fputs | Output a string to a stream |
fread | Read data from a stream |
freopen | Reassign a stream, closing the old stream |
fscanf | Formatted input from a stream |
fseek | Reposition within a file |
fsetpos | Reset to a presaved position in a stream |
ftell | Get the streams file position |
fwrite | Write data to a stream |
getc | Get a character from stream |
getchar | Get a character from stdin |
gets | Get a string from stdin |
_getw | Get a short integer from a stream |
perror | Print an error message to stderr |
printf | Print a message to stdout |
putc | Output a character to a stream |
putchar | Output a character to a stdout |
puts | Output a string to a stdout |
_putw | Output a short integer to a stream |
rewind | Reset the stream position to the start of the file |
scanf | Formatted input from stdin |
setbuf | Set the stream buffering |
setvbuf | Set the stream buffering and buffer size |
_snprintf | Write formatted output to a string of length n |
sprintf | Write formatted output to a string |
sscanf | Formatted input from a string |
ungetc | Pushback the last character read from a stream |
vfprintf | Formatted output to a stream, using a *list of arguments |
vfscanf | Formatted input from a stream, using a *list of arguments |
vprintf | Formatted output to stdout, using a *list of arguments |
_vsnprintf | Formatted output to a string of length n, using a *list of arguments |
vsprintf | Formatted output to a string, using a *list of arguments |