File system
File system closedir
// INCLUDE
#include <dirent.h>
// PROTOTYPE
int closedir(DIR* dirp)
dirp
: TheDIR*
returned byopendir
.
Returns 0 on success. On error, returns -1 and sets errno
.
// INCLUDE
#include <dirent.h>
// PROTOTYPE
int closedir(DIR* dirp)
dirp
: The DIR*
returned by opendir
.Returns 0 on success. On error, returns -1 and sets errno
.