[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

vn_readdir_eofp Entry Point


Returns directory entries.


vn_readdirr_eofp (vp, uiop, eofp, crp)
struct vnode *vp;
struct uio *uiop;
int *eofp;
struct ucred *crp;


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 vn_readdir_eofp entry point is used to read directory entries. It is similar to vn_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 vn_readdir_eofp entry point.

Execution Environment

The vn_readdir_eofp entry point can be called from the process environment only.

Return Values

Zero Indicates a successful operation.
Nonzero Indicates that the operation failed; return values should be chosen from the /usr/include/sys/errno.h file.

Related Information

The readdir subroutine.

Virtual File System Overview, Logical File System Overview, Understanding Virtual Nodes (V-nodes), and Virtual File System Kernel Extensions Overview.

List of Virtual File System Operations.

[ Previous | Next | Contents | Home | Search ]