Barebones of C library