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.
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.