Reset position to the beginning of a directory opened by rfio_opendir
#include <sys/types.h>
#include "rfio_api.h"
void rfio_rewinddir (RDIR *dirp);
rfio_rewinddir resets the position to the beginning of a directory opened by rfio_opendir.
dirp
specifies the pointer value returned by rfio_opendir.
For LCG directories, a multi-threaded application will need to initialize itself the Cthread (LCG Thread Interface) library ; this is done by including "shift/Cthread_api.h" and calling the function Cthread_init() at the beginning. Otherwise accessing LCG directories will not be thread-safe. See Cthread(3).
LCG Grid Deployment Team