next up previous
Next: Explore the file system Up: Assignment 9: File System Previous: Assignment 9: File System

Get the code

1.
Grab the code from

http://rocky.colby.edu/cs357/code/hw9/
and look it over.

2.
The file testlock.c demonstrates the basic use of fopen, fprintf and fclose. As usual, you should print the man pages for all system calls you think you might need for this homework.

3.
Here's one nuisance. If you use filetest to create a very large number of files, then you might not be able to remove them with rm. I have provided a script called rm.tcl that you can use if you get into trouble.



Allen Downey
2000-04-26