Copyright (c) 1996 Doug Rabson All rights reserved. This program is free software. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in...
NAMEVOP_READLINK - read the target of a symbolic link
SYNOPSISIn 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
DESCRIPTIONThis 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.
LOCKSThe vnode should be locked on entry and will still be locked on exit.
RETURN VALUESZero is returned on success, otherwise an error code is returned.
- Bq Er EIO
- A read error occurred while reading the contents of the symlink.