A C toolkit