Stevens Institute of Technology - Department of Computer Science

CS631 Week 12 Checkpoint

To help you get the most out of this class, please fill out this short form after completing the materials and exercises for week 12.


Please enter your full name:

Please enter your Stevens username:

Describe each one log level and facility not mentioned in the videos:

Use the nonblock.c program to write data in non-blocking mode (./a.out nonblock) into a pipe, a fifo, and over the network (e.g., via nc(1)).
Describe and explain your observation:

Rewrite flock.c to use fcntl(2).
Note any observations here:

Give a practical example of when it might be useful to use asynchronous I/O:

Review the NetBSD source code for cp(1) - why/when is mmap(2) used here?
Why is it not used for all I/O?