C library with common utilities