Some C stuff I find useful