A C implementation of statsite