1DPNS_CHDIR(3)                    DPNS      Library      Functions
2DPNS_CHDIR(3)
3
4
5
6[1mNAME[0m
7       dpns_chdir ‐ change DPNS current  directory  used  by  the
8name server
9
10[1mSYNOPSIS[0m
11       [1m#include <sys/types.h>[0m
12       [1m#include "dpns_api.h"[0m
13
14       [1mint dpns_chdir (const char *[4m[22mpath[24m[1m)[0m
15
16[1mDESCRIPTION[0m
17       [1mdpns_chdir   [22mchanges   the  DPNS  current directory
18used by the name server
19       to expand DPNS pathnames  not  beginning  with  /.    This
20current  working
21       directory  is  stored  in  a  thread‐safe  variable in the
22client.
23
24       [4mpath[24m   specifies  the  logical  pathname   relative
25to the current DPNS
26              directory or the full DPNS pathname.
27
28[1mRETURN VALUE[0m
29       This routine returns 0 if the operation was successful  or
30‐1  if  the
31       operation failed. In the latter case, [1mserrno [22mis set
32appropriately.
33
34[1mERRORS[0m
35       [1mENOENT        [22mThe named directory does not exist or
36is a null pathname.
37
38       [1mEACCES       [22mSearch permission  is  denied  on  any
39component of [4mpath[24m.
40
41       [1mEFAULT       [4m[22mpath[24m is a NULL pointer.
42
43       [1mENOTDIR       [22mA  component of [4mpath[24m prefix is
44not a directory.
45
46       [1mENAMETOOLONG [22mThe   length  of  [4mpath[24m  exceeds
47[1mCA_MAXPATHLEN [22mor the length of
48                    a  [4mpath[24m  component  exceeds [1mCA_MAX‐
49NAMELEN[22m.
50
51       [1mSENOSHOST    [22mHost unknown.
52
53       [1mSENOSSERV    [22mService unknown.
54
55       [1mSECOMERR     [22mCommunication error.
56
57       [1mENSNACT      [22mName server is not running or is being
58shutdown.
59
60[1mSEE ALSO[0m
61       [1mCastor_limits(4)[0m
62
63[1mAUTHOR[0m
64       [1mLCG Grid Deployment [22mTeam
65
66
67
68DPNS                        $Date:    2001/10/04    12:12:42    $
69DPNS_CHDIR(3)
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
Impressum