Copyright (C) 2000-2012 |
Manpages CLOSEDIRSection: Linux Programmer's Manual (3 )Updated: 1995-06-11 Index Return to Main Contents NAMEclosedir - close a directorySYNOPSIS#include <sys/types.h> #include <dirent.h> int closedir(DIR *dir); DESCRIPTIONThe closedir() function closes the directory stream associated with dir. The directory stream descriptor dir is not available after this call.RETURN VALUEThe closedir() function returns 0 on success or -1 on failure.ERRORS
CONFORMING TOSVID 3, POSIX, BSD 4.3SEE ALSOclose(2), opendir(3), readdir(3), rewinddir(3), seekdir(3), telldir(3), scandir(3)
IndexThis document was created by man2html, using the manual pages. Time: 20:01:40 GMT, April 19, 2024 |