Operating Systems Course Material

Material regarding the course “Operating Systems”

Lesson 1

  1. file reading 1: Example on how to read a file row-by-row, word-by-word, character-by-character and how to read a structured file (where field of different type are save in each row of the file).
  2. file writing 1: Writing data stored into structures in a file.
  3. write and read a binary file: Example on how to write or read a binary file using fwrite and fread functions
  4. Read and write a binary file: System calls open, read, write and close for read and write a binary file
  5. Makefile 1: Simple example of Makefile