- path
- Documentation for this section has not yet been entered.
- buf
- Documentation for this section has not yet been entered.
- bufsiz
- Documentation for this section has not yet been entered.
The call returns the count of characters placed in the buffer if it succeeds, or a -1 if an error occurs, placing the error code in the global variable Stdlib.GetLastError .
Usage
The readlink() system call will fail if:
Error Details Errno.ENOTDIR A component of the path prefix is not a directory.
Errno.ENAMETOOLONG A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters.
Errno.ENOENT The named file does not exist.
Errno.EACCES Search permission is denied for a component of the path prefix.
Errno.ELOOP Too many symbolic links were encountered in translating the pathname.
Errno.EINVAL The named file is not a symbolic link.
Errno.EIO An I/O error occurred while reading from the file system.
Errno.EFAULT The buf argument extends outside the process's allocated address space.