Man Linux: Main Page and Category List

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.

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

SEE ALSO

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

AUTHOR

       LCG Grid Deployment Team