Files and Directories

  1. File Types; stat, fstat, and lstat Functions; http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code48.c code48.c (do not forget to download also the file, http://siber.cankaya.edu.tr/OperatingSystems/cfiles/apue.h apue.h)
  2. File Access; chmod and fchmod Functions; http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code49.c code49.c
  3. Reading Directories; File tree walk http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code50.c code50.c (do not forget to download also the files, http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code51.c code51.c, http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code52.c code52.c)
  4. Optimize file i/o performance; a program to show the effect of the buffer. http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code53.c code53.c (do not forget to download also the file, http://siber.cankaya.edu.tr/OperatingSystems/cfiles/ourhdr.hourhdr.h)

Cem Ozdogan 2010-05-11