C utils library