closedir closedir dirhandle Closes a directory associated with the given directory handle opened by opendir.