Advanced Programming in the UNIX Environment examples