simple c library