SYNOPSIS

#include <sys/types.h>

#include "rfio_api.h"

void rfio_rewinddir (RDIR *dirp);

DESCRIPTION

rfio_rewinddir resets the position to the beginning of a directory opened by rfio_opendir.

dirp

specifies the pointer value returned by rfio_opendir.

NOTES

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).

RELATED TO rfio_rewinddir…

AUTHOR

LCG Grid Deployment Team