File processing function
function | description Description |
---|---|
fopen() |
open a new or existing file |
fprintf() |
write data to file |
fscanf() |
read data from a file |
fputc() |
write a character to file |
fgetc() |
read a character from a file |
fclose() |
close the file |
fseek() |
set the file pointer to the given position |
fputw() |
Write an integer to a file |
fgetw() |
read an integer from a file |
ftell() |
returns the current position |
rewind() |
set the file pointer to the beginning of the file |
There are many functions in the C library to open /read /write /search and close files |
Comments