Code practice from The Linux Programming Interface