Returns directory entries.
int vnop_readdirr_eofp (vp, uiop, eofp, crp) struct vnode *vp; struct uio *uiop; int *eofp; struct ucred *crp;
Item | Description |
---|---|
vp | Points to the directory vnode to be processed. |
uiop | Points to the uiop structure describing the user's buffer. |
eofp | Points to a word that places the eop structure. |
crp | Specifies user's credentials. |
The vnop_readdir_eofp entry point is used to read directory entries. It is similar to vnop_readdir except that it takes the additional parameter, eofp. The location pointed to by the eofp parameter should be set to 1 if the readdir request reached the end of the directory. Otherwise, it should be set to 0.
File systems that do not define GFS_VERSION421 in their gfs flags do not need to supply a vnop_readdir_eofp entry point.
The vnop_readdir_eofp entry point can be called from the process environment only.
Item | Description |
---|---|
Zero | Indicates a successful operation. |
Nonzero | Indicates that the operation failed; return values should be chosen from the /usr/include/sys/errno.h file. |