RFIO_READLINK(3) | Rfio Library Functions | RFIO_READLINK(3) |
rfio_readlink - get the content of a symbolic link
#include <sys/types.h>
#include "rfio_api.h"
int rfio_readlink (const char *path, char *buf, int length)
rfio_readlink gets the content of the symbolic link identified by path.
buf content is not null terminated.
Symbolic link content can be truncated to length if buf is too
small.
This routine returns the count of bytes placed in buf if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
LCG Grid Deployment Team
$Date: 2005/03/31 13:13:03 $ | LCG |