Custom C lib