All or most of the packages are written in C and a great example to learn from. They might be a bit advanced for you but it's a great resource to see effective C code.