Snippets of C code which may or may not be useful.