my (old) c unix snippets