Query: vn_isdisk
OS: freebsd
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VN_ISDISK(9) BSD Kernel Developer's Manual VN_ISDISK(9)NAMEvn_isdisk -- checks if a vnode represents a diskSYNOPSIS#include <sys/param.h> #include <sys/vnode.h> int vn_isdisk(struct vnode *vp, int *errp);DESCRIPTIONThe vn_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: vp The vnode to check. errp An integer pointer to store the error number in if the call fails.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>.BSDJuly 9, 2001 BSD
Related Man Pages |
---|
vput(9) - freebsd |
vput(9) - debian |
vrele(9) - opensolaris |
vput(9) - opensolaris |
vrele(9) - centos |
Similar Topics in the Unix Linux Community |
---|
Unix File Permissions |
The Whole Story on #! /usr/bin/ksh |
Reason for no directory creation date |
Valid separator in time and date format |