More C snippets