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

NAME

6       lfc_delcomment  -  delete the comment associated with a LFC file/direc‐
7       tory in the name server
8

SYNOPSIS

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

DESCRIPTION

16       lfc_delcomment deletes the comment associated with a LFC file/directory
17       in the name server.
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 file/directory does not exist or is a null path‐
28                    name or there is no comment associated with this entry.
29
30       EACCES       Search permission is denied on a  component  of  the  path
31                    prefix  or the caller effective user ID does not match the
32                    owner  ID  of  the  file  or  write  permission   on   the
33                    file/directory itself is denied.
34
35       EFAULT       path is a NULL pointer.
36
37       ENAMETOOLONG The  length of path exceeds CA_MAXPATHLEN or the length of
38                    a path component exceeds CA_MAXNAMELEN.
39
40       SENOSHOST    Host unknown.
41
42       SENOSSERV    Service unknown.
43
44       SECOMERR     Communication error.
45
46       ENSNACT      Name server is not running or is being shutdown.
47

SEE ALSO

49       Castor_limits(4), lfc_chdir(3), lfc_setcomment(3), Cupvlist(1)
50

AUTHOR

52       LCG Grid Deployment Team
53
54
55
56LFC          $Date: 2010-12-13 11:48:43 +0100 (Mon, 13 Dec 201L0F)C_$DELCOMMENT(3)
Impressum