Scroll to navigation

RFIO_REWINDDIR(3) Rfio Library Functions RFIO_REWINDDIR(3)

NAME

rfio_rewinddir - reset position to the beginning of a directory opened by rfio_opendir

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.

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

SEE ALSO

rfio_closedir(3), rfio_opendir(3), rfio_readdir(3)

AUTHOR

LCG Grid Deployment Team

$Date: 2005/03/31 13:13:03 $ LCG