Unix Systems Programming
Required skills for starting this project
- Lecture Notes
- Notes on I/O system calls
- Chapter 2 of Understanding Unix/Linux Programming by Molay.
Additional useful resources
- How to use the manpages . A guide to moving
through the manpages.
Using Pointers from the Stanford CS library. Part I of this
assignment is heavy on pointers.
Chapter 4 of Advanced Unix Programming by Warren W.
Gay on Unix I/O.
To unpackage directory DIR.tar.gz:
- assign2 (pdf), assignment 2
cat, POSIX specification for cat
- makeargv, template directory for
Part I of assignment.
- my_cat, template directory for
Part II of assignment, plus a library of
restart versions of I/O system calls which restart I/O on
EINTR. You are welcome to use this library for
tar xfz DIR.tar.gz
Frequently Asked Questions (FAQ)
What does the POSIX specification for cat mean?
cat utility shall not close and reopen standard input when it is referenced
in this way [i.e. as '-'], but shall accept multiple occurrences of '-' as a