Skip to content

It implements my own file I/O functions to perform as the interface for file handling

Notifications You must be signed in to change notification settings

vishal-pathare/FILE-operations-in-c-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

FILE-operations-in-c-from-scratch

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)

About

It implements my own file I/O functions to perform as the interface for file handling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages