These days I am reading the excellent book Mac OS X Internals and experimenting the examples from the book.
The examples are released under the GPL (General Public License).
sudo ./panic_test.binDownload panic_test.c (source code)
Learning Unix for Mac OS X
If you're a Mac OS X user and you don't know much about Unix then this book is for you. You will start using the Terminal.App in Mac OS X and slowly discover the power of Unix.
Mac OS X for Unix Geeks
Welcome to the next level ! If you've read and understood the previous book, you can now jump to this one. You'll learn about Unix on Mac OS X. This book is recommended for anyone switching from
to Mac OS X.
Mac OS X Internals: A Systems Approach
This book will delve into Mac OS X. You will learn about Mac OS X and how it relates to other technologies such as Mach developed at Carnegie Mellon, BSD from Berkeley as well as NextStep, the operating system designed by Steve Jobs when he was forced to quit Apple in 1985 ...