C code examples and documentation