next up previous contents index
Next: 9.4.17 stdlib.h: standard library Up: 9.4 Header Files Previous: 9.4.15 stddef.h: common definitions

9.4.16 stdio.h: standard input/output

   

DESCRIPTION

This header provides definitions for the standard input and output facilities provided by the minimal C library. These routines simply chain to low-level I/O routines and do no buffering.
putchar
Output a character to stdout.
puts
Output a string to a stream.
printf
Formatted output to stdout.
vprintf
Formatted output to stdout with a stdarg.h va_list argument.
sprintf
Formatted output to a string buffer.
snprintf
Formatted output of up to len characters into a string buffer.
vsprintf
Formatted output to a string buffer with a stdarg.h va_list argument.
vsnprintf
Formatted output of up to len characters into a string buffer with a stdarg.h va_list argument.
getchar
Input a character from stdin.
gets
Input a string from stdin.
fgets
Input a string from a stream.
fopen
Open a stream.
fclose
Close a stream.
fread
Read bytes from a stream.
fwrite
Write bytes to a stream.
fputc
Output a character to a stream.
fputs
Output a string to a stream.
fgetc
Input a character from a stream.
fprintf
Formatted output to a stream.
vfprintf
Formatted output to a stream with a stdarg.h va_list argument.
fscanf
Formatted input from a stream.
fseek
Reposition a stream.
feof
Check for end-of-file in an input stream.
ftell
Return the current position in a stream.
rewind
Reset a stream to the beginning.
hexdump
Print a buffer in hexdump style.
putc
Macro-expanded to fputc.



University of Utah Flux Research Group