Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

VOP_READLINK — read the target of a symbolic link

Authors

       This manual page was written by Doug Rabson.

Debian                                           March 30, 2020                                  VOP_READLINK(9)

Description

       This reads the target pathname of a symbolic link

       vp   The vnode of the symlink.

       uio  The location of the data to be read or written.

       cred
            The credentials of the caller.

Errors

       [EIO]              A read error occurred while reading the contents of the symlink.

       [EINTEGRITY]       Corrupted data was detected while reading the contents of the symlink.

Locks

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

Name

       VOP_READLINK — read the target of a symbolic link

Return Values

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

See Also

uiomove(9), vnode(9)

Synopsis

#include<sys/param.h>#include<sys/vnode.h>#include<sys/uio.h>intVOP_READLINK(structvnode*vp, structuio*uio, structucred*cred);

See Also