C utility functions library