stdio.h
This header defines all the ANSI I/O functions that allow you to read
and write to files and devices.
Low level (non ANSI) functions are also available.
Entries are not in order - yet.
rename Rename a file. MAN PAGE.
remove remove a file. MAN PAGE.
tmpfile MAN PAGE.
tmpnam MAN PAGE.
fflush MAN PAGE.
freopen MAN PAGE.
setbuf MAN PAGE.
setvbuf MAN PAGE.
fscanf MAN PAGE.
sscanf Extract fields from a string.
vfprintf MAN PAGE.
vprintf MAN PAGE.
vsprintf MAN PAGE.
fclose Close a file.
fopen Open a file
fgetc Read a character from a file.
feof Check for EOF while reading a file.
fgets Read a record from a file (safer than fgetc).
fprintf O/P a line of data to a file.
fputc Put a charater into a file.
fputs Put a string into a file.
printf O/P data to the screen or a file.
sprintf O/P data in tha same way as 'printf' but put it into a string.
getc Get a character from an input stream.
getchar Get a character from the keyboard (STDIN).
gets Get string (from keyboard).
putchar O/P a character to STDOUT.
puts O/P data to the screen or a file.
scanf
ungetc
fread
fwrite
fgetpos
fseek
fsetpos
ftell
rewind
clearerr
fseek
stdlib.h
abort
abs
atexit
atof
atoi Accepts +-0123456789 leading blanks and converts to integer.
atol
bsearch Binary chop.
calloc
div
exit
getenv Get an environmental variable.
free memory allocated with malloc.
labs
ldiv
malloc dynamically allocate memory.
mblen
mbstowcs
mbtowc
qsort Sort an array.
rand Generate a random number.
realloc
strtod
strtol String to long integer conversion. Takes data in various number bases.
strtoul
srand Seed a random number.
system Issue a command to the operating system
wctomb
wcstombs
string.h
memchr
memcmp
memcpy
memmove
memset
strcat Concatinate two strings.
strchr Search for a character in a string.
strcmp Compare strings.
strcoll
strcpy Copy strings.
strcspn
strerror
strlen
strncat
strncmp
strncpy Copy part of a string.
strpbrk
strrchr Search for a character in a string.
strspn
strstr Search a string for a substring.
strtok The books say this function splits a string into tokens. I think its function is best described as parsing a string.
strxfrm
time.h
asctime
clock
ctime
difftime
gmtime
localtime
mktime
strftime
time
Example program using some of the time functions.
conio.h
Dos Specific functions in conio.h Not very portable as conio.h
is NOT in the ANSI standard library and does not
appear on the Sun or Linux machines.
clrscr Clear screen
getch Get a character from the keyboard.
getche Get a character from the keyboard.