basic C lib