READLINK(OC)

Shore Programmer's Manual - 3 November 94

NAME

readlink \- read contents of symbolic link

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 0.1 of theShore 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 (c) 1994 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.

SEE ALSO

symlink(oc) .