#include <sys/types.h> #include <dirent.h> DIR *opendir(char *dirname);
opendir
opens an OpenEdition directory to be read by readdir
. The
dirname
function is the name of the directory to be read. The dirname
must specify the name of a file in the OpenEdition hierarchical file
system. For information on specifying OpenEdition filenames, see
File Naming Conventions .
opendir
returns a pointer to a DIR
object that describes the directory. If it is unsuccessful,
opendir
returns a NULL
pointer.
rewinddir
also demonstrates the use
of the opendir
function.
cmsdfind
, open
, osdfind
,readdir
,
rewinddir
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.