Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VOP_READLINK(9)		 BSD Kernel Developer's	Manual	       VOP_READLINK(9)

NAME
     VOP_READLINK -- read the target of	a symbolic link

SYNOPSIS
     #include <sys/param.h>
     #include <sys/vnode.h>
     #include <sys/uio.h>

     int
     VOP_READLINK(struct vnode *vp, struct uio *uio, struct ucred *cred);

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.

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
     [EIO]		A read error occurred while reading the	contents of
			the symlink.

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

SEE ALSO
     uiomove(9), vnode(9)

AUTHORS
     This manual page was written by Doug Rabson.

BSD				March 30, 2020				   BSD

NAME | SYNOPSIS | DESCRIPTION | LOCKS | RETURN VALUES | ERRORS | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=VOP_READLINK&sektion=9&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help