CLOSEDIR(3) Linux Programmer's Manual CLOSEDIR(3)
NAMEclosedir - close a directory
SYNOPSIS#include <sys/types.h> #include <dirent.h> int closedir(DIR *dir);
DESCRIPTIONThe closedir() function closes the directory stream asso- ciated 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.
ERRORSEBADF Invalid directory stream descriptor dir.
CONFORMING TOSVID 3, POSIX, BSD 4.3
close, opendir, readdir, rewinddir, seekdir, telldir, scandir,
11 June 1995 1
|file: /Techref/language/ccpp/cref/MAN/closedir.htm, 1KB, , updated: 2019/7/7 17:17, local time: 2019/7/19 10:36,
|©2019 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/Techref/language/ccpp/cref/MAN/closedir.htm"> closedir</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!