Section: LFC Library Functions (3) Updated: $Date: 2001/10/04 12:12:44 $ Local index
lfc_getcwd - get LFC current directory used by the name server
char *lfc_getcwd (char *buf,
gets the LFC current directory used by the name server.
This current working directory is stored in a thread-safe variable in the client.
is not NULL, the current directory name will be stored there.
allocates a buffer of
must be at least the length of the directory name to be returned plus one byte.
This routine returns
if the operation was successful or NULL if the operation failed.
In the latter case,
is set appropriately.
The current directory has not been set yet or does not exist anymore.
is a NULL pointer and memory could not be allocated.
is less than or equal to zero.
is greater than 0 and less than size of current directory name plus 1.
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