Prefix library in C