HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)

r
readlink(2) readlink(2)
HP-UX EXTENSIONS
SYNOPSIS
#include <symlink.h>
DESCRIPTION
If the length of the path name string is less than bufsiz, the string will be null-terminated when returned.
If the length of the path name string is exactly bufsiz, the string will not be null-terminated when returned.
ERRORS
[EACCES] Search permission is denied for a component of the path prefix.
[EFAULT] buf or path points outside the process’s allocated address space. Reliable detection of
this error is implementation-dependent.
[ENAMETOOLONG]
A component of path exceeds
NAME_MAX bytes while _POSIX_NO_TRUNC
is in
effect, or path exceeds
PATH_MAX bytes.
AUTHOR
readlink() was developed by the University of California, Berkeley.
SEE ALSO
stat(2), symlink(2), symlink(4).
STANDARDS CONFORMANCE
readlink() : AES, SVID3
Section 2272 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005