diff options
author | ru <ru@FreeBSD.org> | 2001-07-13 08:14:54 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-07-13 08:14:54 +0000 |
commit | ebc943289bbbaf44b5f7581e9bb569a3fe9cbe82 (patch) | |
tree | 17cffa64cee9360f6e973369ec9da47fd2d5c272 /share/man/man9/vn_isdisk.9 | |
parent | 7ae8ee33fd00797bbcf398316a3f39724894c486 (diff) | |
download | FreeBSD-src-ebc943289bbbaf44b5f7581e9bb569a3fe9cbe82.zip FreeBSD-src-ebc943289bbbaf44b5f7581e9bb569a3fe9cbe82.tar.gz |
Merge Chad's fixes.
Diffstat (limited to 'share/man/man9/vn_isdisk.9')
-rw-r--r-- | share/man/man9/vn_isdisk.9 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/share/man/man9/vn_isdisk.9 b/share/man/man9/vn_isdisk.9 index 71fa7ed..b47a322 100644 --- a/share/man/man9/vn_isdisk.9 +++ b/share/man/man9/vn_isdisk.9 @@ -31,7 +31,7 @@ .Os .Sh NAME .Nm vn_isdisk -.Nd "checks if the vnode represents a disk" +.Nd "checks if a vnode represents a disk" .Sh SYNOPSIS .In sys/param.h .In sys/vnode.h @@ -40,9 +40,13 @@ .Sh DESCRIPTION The .Fn vn_isdisk -function checks to see if the vnode represents a disk. -In order for the vnode to be a disk it must be a character -device, +function checks to see if +.Fa vp +represents a disk. +In order for +.Fa vp +to be a disk, +it must be a character device, .Va v_rdev must be valid, and the .Vt cdevsw @@ -60,10 +64,10 @@ The vnode to check. An integer pointer to store the error number in if the call fails. .El .Sh RETURN VALUES -If the vnode represents a disk, 1 is returned; otherwise, zero +If the vnode represents a disk, 1 is returned; otherwise, 0 is returned and .Fa errp will contain the error number. .Sh AUTHORS This man page was written by -.An Chad David . +.An Chad David Aq davidc@acns.ab.ca . |