1RFIO_CLOSEDIR(3)            Rfio Library Functions            RFIO_CLOSEDIR(3)
2
3
4

NAME

6       rfio_closedir - close directory opened by rfio_opendir
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "rfio_api.h"
11
12       int rfio_closedir (RDIR *dirp);
13

DESCRIPTION

15       rfio_closedir  closes  the directory opened by rfio_opendir and associā€
16       ated with the RDIR structure pointed by dirp.
17
18       dirp   specifies the pointer value returned by rfio_opendir.
19

RETURN VALUE

21       This routine returns 0 if the operation was successful  or  -1  if  the
22       operation failed. In the latter case, serrno is set appropriately.
23

ERRORS

25       EBADF        File descriptor in DIR structure is invalid.
26
27       SENOSHOST    Host unknown.
28
29       SENOSSERV    Service unknown.
30
31       SETIMEDOUT   Timed out.
32
33       SEBADVERSION Version ID mismatch.
34
35       SECOMERR     Communication error.
36

SEE ALSO

38       rfio_opendir(3), rfio_readdir(3), rfio_rewinddir(3)
39

AUTHOR

41       LCG Grid Deployment Team
42
43
44
45LCG                      $Date: 2005/03/31 13:13:02 $         RFIO_CLOSEDIR(3)
Impressum