The FreeBSD Programming Primer code from BSD magazine