readlink - read contents of symbolic link


CONTENTS


SYNOPSIS

#include <ShoreApp.h>
shrc Shore::readlink(const char *path,
                     char *buf, 
                     int bufsize,
                     int *resultlen);

DESCRIPTION

Readlink copies the character string out of the symbolic link object named by path into the buffer given by buf. At most bufsize characters are copied. Upon return, resultlen indicates the actual number of characters copied. The resulting string is null-terminated only if the actual length of the string is less than bufsize.

VERSION

This manual page applies to Version 1.1.1 of the Shore software.

SPONSORSHIP

The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518.

COPYRIGHT

Copyright © 1994, 1995, 1996, 1997, Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.

SEE ALSO

symlink(oc).