#include <sys/types.h> #include <dirent.h> int closedir( DIR *dirp );
The directory stream associated with dirp
is closed.
The value in dirp
may not be usable after a call to
closedir()
.
NONE
The argument to closedir()
must be a pointer returned by
opendir()
. If it is not, the results are not portable and
most likely unpleasant.
The routine is implemented in Cygnus newlib.
Copyright © 1988-2007OAR Corporation