The header file.h is used in C programming language to perform file I/O operations such as reading from file, writing to file etc
Such similar operations can be performed by using the functions described below.
The user can call the following functions to perform file manipulation using the file pointer type FILES*:
- FILES *ifopen(char *pathname, char *mode)
- void ifclose(FILES *fp)
- int ifread(void *mem, int no_of_records, int record_size, FILES *fp)
- int ifwrite(void *mem, int no_of_records, int record_size, FILES *fp)
- int ifgetpos(FILES *fp, fPos_t pos)
- int ifsetpos(FILES *fp, fPos_t pos)
- long int iftell(FILES *fp)
- int ifseek(FILES *fp, long offset, int whence)
- int ifeof(FILES *fp)