Section: LFC Library Functions (3) Updated: $Date: 2001/10/04 12:12:44 $ Local index
lfc_getcomment - get the comment associated with a LFC file/directory in the name server
int lfc_getcomment (const char *path,
gets the comment associated with a LFC file/directory in the name server.
specifies the logical pathname relative to the current LFC directory or
the full LFC pathname.
points at a buffer to receive the comment.
The buffer must be at least CA_MAXCOMMENTLEN+1 characters long.
This routine returns 0 if the operation was successful or -1 if the operation
failed. In the latter case,
is set appropriately.
The named directory does not exist or is a null pathname or there is no comment
associated with this path.
Search permission is denied on a component of the
prefix or read permission on the file/directory itself is denied.
is a NULL pointer.
The length of
or the length of a
Name server is not running or is being shutdown.
LCG Grid Deployment Team
- RETURN VALUE
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:49:15 GMT, April 16, 2011