Go to the first, previous, next, last section, table of contents.


closedir

Syntax

#include <dirent.h>

int closedir(DIR *dir);

Description

This function closes a directory opened by opendir (see section opendir).

Return Value

Zero on success, nonzero if dir is invalid.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.