Examples from the book The Linux Programming Interface implemented in go