VOP_READLINK.9freebsd

Langue: en

Autres versions - même langue

Version: 365582 (ubuntu - 25/10/10)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

VOP_READLINK - read the target of a symbolic link

SYNOPSIS

In sys/param.h In sys/vnode.h In sys/uio.h Ft int Fn VOP_READLINK struct vnode *vp struct uio *uio struct ucred *cred

DESCRIPTION

This reads the target pathname of a symbolic link
Fa vp
The vnode of the symlink.
Fa uio
The location of the data to be read or written.
Fa cred
The credentials of the caller.

LOCKS

The vnode should be locked on entry and will still be locked on exit.

RETURN VALUES

Zero is returned on success, otherwise an error code is returned.

ERRORS

Bq Er EIO
A read error occurred while reading the contents of the symlink.

SEE ALSO

uiomove(9), vnode(9)

AUTHORS

This manual page was written by An Doug Rabson .