(closedir): Pass on the value from sys_closedir.