Wednesday, 19 October 2011

Working with Files

3: Working with Files

Linux File Structure 
  • Directories
  • Files and Devices
System Calls and Device Drivers
Library Functions
Low-Level File Access

  • write
  • read
  • open
  • Initial Permissions
  • Other System Calls for Managing Files
  • The Standard I/O Library
  • fopen
  • fread
  • fwrite
  • fclose
  • fflush
  • fseek
  • fgetc, getc, and getchar
  • fputc, putc, and putchar
  • fgets and gets
Formatted Input and Output
  • printf, fprintf, and sprintf
  • scanf, fscanf, and sscanf
  • Other Stream Functions
  • Stream Errors
  • Streams and File Descriptors
File and Directory Maintenance
  • chmod
  • chown
  • unlink, link, and symlink
  • mkdir and rmdir
  • chdir and getcwd 
Scanning Directories
  • opendir
  • readdir
  • telldir
  • seekdir
  • closedir
Errors
  • strerror
  • perror
The /proc File System
Advanced Topics: fcntl and mmap
  • fcntl
  • mmap



No comments:

Post a Comment