These are the sources to a very useful manual from Dave Curry at Purdue that describes (for 4.2bsd) how to do common things all programmers want to do in C on Berkeley Unix systems.