Function

vnode_isreg

Determine if a vnode is a regular file.

Declaration

int vnode_isreg(vnode_t vp);

Parameters

vp

The vnode to test.

Return Value

Nonzero if the vnode is of type VREG, 0 otherwise.