1LFC_CHDIR(3) LFC Library Functions
2LFC_CHDIR(3)
3
4
5
6[1mNAME[0m
7 lfc_chdir ‐ change LFC current directory used by the name
8server
9
10[1mSYNOPSIS[0m
11 [1m#include <sys/types.h>[0m
12 [1m#include "lfc_api.h"[0m
13
14 [1mint lfc_chdir (const char *[4m[22mpath[24m[1m)[0m
15
16[1mDESCRIPTION[0m
17 [1mlfc_chdir [22mchanges the LFC current directory used
18by the name server to
19 expand LFC pathnames not beginning with /. This current
20working direc‐
21 tory is stored in a thread‐safe variable in the client.
22
23 [4mpath[24m specifies the logical pathname relative
24to the current LFC
25 directory or the full LFC pathname.
26
27[1mRETURN VALUE[0m
28 This routine returns 0 if the operation was successful or
29‐1 if the
30 operation failed. In the latter case, [1mserrno [22mis set
31appropriately.
32
33[1mERRORS[0m
34 [1mENOENT [22mThe named directory does not exist or
35is a null pathname.
36
37 [1mEACCES [22mSearch permission is denied on any
38component of [4mpath[24m.
39
40 [1mEFAULT [4m[22mpath[24m is a NULL pointer.
41
42 [1mENOTDIR [22mA component of [4mpath[24m prefix is
43not a directory.
44
45 [1mENAMETOOLONG [22mThe length of [4mpath[24m exceeds
46[1mCA_MAXPATHLEN [22mor the length of
47 a [4mpath[24m component exceeds [1mCA_MAX‐
48NAMELEN[22m.
49
50 [1mSENOSHOST [22mHost unknown.
51
52 [1mSENOSSERV [22mService unknown.
53
54 [1mSECOMERR [22mCommunication error.
55
56 [1mENSNACT [22mName server is not running or is being
57shutdown.
58
59[1mSEE ALSO[0m
60 [1mCastor_limits(4)[0m
61
62[1mAUTHOR[0m
63 [1mLCG Grid Deployment [22mTeam
64
65
66
67LFC $Date: 2001/10/04 12:12:42 $
68LFC_CHDIR(3)
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132