Advanced Programming in the UNIX® Environment, Third Edition http://www.apuebook.com/code3e.html