Add misc C snippets