1LFC_CLOSEDIR(3)              LFC Library Functions             LFC_CLOSEDIR(3)
2
3
4

NAME

6       lfc_closedir  -  close  LFC directory opened by lfc_opendir in the name
7       server
8

SYNOPSIS

10       #include <sys/types.h>
11       #include "lfc_api.h"
12
13       int lfc_closedir (lfc_DIR *dirp)
14

DESCRIPTION

16       lfc_closedir closes the LFC directory opened by lfc_opendir in the name
17       server and frees the lfc_DIR structure pointed by dirp.
18
19       dirp   specifies the pointer value returned by lfc_opendir.
20

RETURN VALUE

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

ERRORS

26       EBADF        File descriptor in DIR structure is invalid.
27
28       EFAULT       dirp is a NULL pointer.
29
30       SENOSSERV    Service unknown.
31
32       SECOMERR     Communication error.
33
34       ENSNACT      Name server is not running or is being shutdown.
35

SEE ALSO

37       lfc_opendirg(3), lfc_readdir(3), lfc_readdirg(3), lfc_rewinddir(3)
38

AUTHOR

40       LCG Grid Deployment Team
41
42
43
44LFC          $Date: 2010-12-13 08:41:11 +0100 (Mon, 13 Dec 2010)LF$C_CLOSEDIR(3)
Impressum