*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: vn_isdisk | Section: 9 | Source: FreeBSD | File: vn_isdisk.9.gz
VN_ISDISK(9) FreeBSD Kernel Developer's Manual VN_ISDISK(9) NAME vn_isdisk - checks if a vnode represents a disk SYNOPSIS #include <sys/param.h> #include <sys/vnode.h> bool vn_isdisk(struct vnode *vp); bool vn_isdisk_error(struct vnode *vp, int *errp); DESCRIPTION The vn_isdisk() and vn_isdisk_error() functions check 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. The arguments are: vp The vnode to check. errp An integer pointer to store the error number in if the call fails. RETURN VALUES If the vnode represents a disk, true is returned; otherwise, false is returned and errp will contain the error number. AUTHORS This manual page was written by Chad David <[email protected]>. FreeBSD 14.1-RELEASE-p8 June 28, 2021 FreeBSD 14.1-RELEASE-p8

Navigation Options