1LFC_DELCOMMENT(3) LFC Library Functions
2LFC_DELCOMMENT(3)
3
4
5
6[1mNAME[0m
7 lfc_delcomment ‐ delete the comment associated with a
8LFC file/direc‐
9 tory in the name server
10
11[1mSYNOPSIS[0m
12 [1m#include <sys/types.h>[0m
13 [1m#include "lfc_api.h"[0m
14
15 [1mint lfc_delcomment (const char *[4m[22mpath[24m[1m)[0m
16
17[1mDESCRIPTION[0m
18 [1mlfc_delcomment [22mdeletes the comment associated with
19a LFC file/directory
20 in the name server.
21
22 [4mpath[24m specifies the logical pathname relative
23to the current LFC
24 directory or the full LFC pathname.
25
26[1mRETURN VALUE[0m
27 This routine returns 0 if the operation was successful or
28‐1 if the
29 operation failed. In the latter case, [1mserrno [22mis set
30appropriately.
31
32[1mERRORS[0m
33 [1mENOENT [22mThe named file/directory does not ex‐
34ist or is a null path‐
35 name or there is no comment associated with
36this entry.
37
38 [1mEACCES [22mSearch permission is denied on a com‐
39ponent of the [4mpath[0m
40 prefix or the caller effective user ID does
41not match the
42 owner ID of the file or write permis‐
43sion on the
44 file/directory itself is denied.
45
46 [1mEFAULT [4m[22mpath[24m is a NULL pointer.
47
48 [1mENAMETOOLONG [22mThe length of [4mpath[24m exceeds
49[1mCA_MAXPATHLEN [22mor the length of
50 a [4mpath[24m component exceeds [1mCA_MAX‐
51NAMELEN[22m.
52
53 [1mSENOSHOST [22mHost unknown.
54
55 [1mSENOSSERV [22mService unknown.
56
57 [1mSECOMERR [22mCommunication error.
58
59 [1mENSNACT [22mName server is not running or is being
60shutdown.
61
62[1mSEE ALSO[0m
63 [1mCastor_limits(4)[22m, [1mlfc_chdir(3)[22m, [1mlfc_set‐
64comment(3)[22m, [1mCupvlist(1)[0m
65
66[1mAUTHOR[0m
67 [1mLCG Grid Deployment [22mTeam
68
69
70
71LFC $Date$
72LFC_DELCOMMENT(3)
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