A simple library in C