Lecture 12 CSCI 510 - Shells: Remapping stdio

Oct 4 Links - Previous Lecture - - Index - - Next Lecture -
[Assignment:]
Due Tuesday Oct 9
  1. Write a small program that will create three processes, a parent, a child, and a child of the child. Using sleep to control the termination order of these processes create a zombie and an orphan process. Have each print out their pid as they start and their parent's pid as they finish. The parent of the orphan should be "1" (init).
  2. Write a small program that uses fgets top read a line, then uses either strtok or other string functions to break it up into words that are inserted in a doubly linked list.

- Previous Lecture - - Index - - Next Lecture -
URL = http://www.cs.sc.edu/~matthews/Courses/510/Lectures/lec12.html