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

NAME

6       lfc_chdir - change LFC current directory used by the name server
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "lfc_api.h"
11
12       int lfc_chdir (const char *path)
13

DESCRIPTION

15       lfc_chdir  changes the LFC current directory used by the name server to
16       expand LFC pathnames not beginning with /.  This current working direcā€
17       tory is stored in a thread-safe variable in the client.
18
19       path   specifies  the  logical  pathname  relative  to  the current LFC
20              directory or the full LFC pathname.
21

RETURN VALUE

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

ERRORS

27       ENOENT       The named directory does not exist or is a null pathname.
28
29       EACCES       Search permission is denied on any component of path.
30
31       EFAULT       path is a NULL pointer.
32
33       ENOTDIR      A component of path prefix is not a directory.
34
35       ENAMETOOLONG The  length of path exceeds CA_MAXPATHLEN or the length of
36                    a path component exceeds CA_MAXNAMELEN.
37
38       SENOSHOST    Host unknown.
39
40       SENOSSERV    Service unknown.
41
42       SECOMERR     Communication error.
43
44       ENSNACT      Name server is not running or is being shutdown.
45

SEE ALSO

47       Castor_limits(4)
48

AUTHOR

50       LCG Grid Deployment Team
51
52
53
54LFC                      $Date: 2001/10/04 12:12:42 $             LFC_CHDIR(3)
Impressum