Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168293698
D30874.id91454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30874.id91454.diff
View Options
diff --git a/share/man/man9/vn_isdisk.9 b/share/man/man9/vn_isdisk.9
--- a/share/man/man9/vn_isdisk.9
+++ b/share/man/man9/vn_isdisk.9
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 9, 2001
+.Dd June 28, 2021
.Dt VN_ISDISK 9
.Os
.Sh NAME
@@ -35,12 +35,16 @@
.Sh SYNOPSIS
.In sys/param.h
.In sys/vnode.h
-.Ft int
-.Fn vn_isdisk "struct vnode *vp" "int *errp"
+.Ft bool
+.Fn vn_isdisk "struct vnode *vp"
+.Ft bool
+.Fn vn_isdisk_error "struct vnode *vp" "int *errp"
.Sh DESCRIPTION
The
.Fn vn_isdisk
-function checks to see if
+and
+.Fn vn_isdisk_error
+functions check to see if
.Fa vp
represents a disk.
In order for
@@ -56,7 +60,7 @@
.Dv D_DISK
set.
.Pp
-Its arguments are:
+The arguments are:
.Bl -tag -width ".Fa errp"
.It Fa vp
The vnode to check.
@@ -64,7 +68,7 @@
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, 0
+If the vnode represents a disk, true is returned; otherwise, false
is returned and
.Fa errp
will contain the error number.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 11:27 AM (16 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37334395
Default Alt Text
D30874.id91454.diff (1 KB)
Attached To
Mode
D30874: vn_isdisk(9): update after r364372
Attached
Detach File
Event Timeline
Log In to Comment