Some codes and exercises from APUE (Advanced Programming in the Unix Environment)