|
NAMEvn_isdisk —
checks if a vnode represents a disk
SYNOPSIS#include <sys/param.h>
#include <sys/vnode.h>
int
DESCRIPTIONThevn_isdisk () function checks to see if
vp represents a disk. In order for
vp to be a disk, it must be a character device,
v_rdev must be valid, and the
cdevsw entry's flags must have
D_DISK set.
Its arguments are:
RETURN VALUESIf the vnode represents a disk, 1 is returned; otherwise, 0 is returned and errp will contain the error number.AUTHORSThis manual page was written by Chad David <davidc@acns.ab.ca>.
Visit the GSP FreeBSD Man Page Interface. |