CS 3733 Operating Systems, Spring 2006 Assignment 4 Comments

This assignment was graded on the basis of 30 points.

  1. Handle errors on all I/O.
  2. Global variables should have static linkage.
  3. No more than one declaration per line.
  4. Do not return negative values from main.
  5. In testing part 3, send at least three signals, one before any compiles one after a compile and one after another compile.
  6. In the signal handler, save and restore errno.
  7. How to print a number in a signal handler:
  8. How to do Part 3
    Problem: main program keeps count but the child (the one that waits for the exec'ed program) gets the return status.