Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Mention VOP_KQFILTER briefly. Its description...



details:   https://anonhg.NetBSD.org/src/rev/fe6699a57be4
branches:  trunk
changeset: 588821:fe6699a57be4
user:      rumble <rumble%NetBSD.org@localhost>
date:      Sat Mar 04 20:36:15 2006 +0000

description:
Mention VOP_KQFILTER briefly. Its description could be more thorough, but
I am unfamiliar with the kqueue framework. Also fix a typo while we're
here.

diffstat:

 share/man/man9/vnodeops.9 |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r 5cd12c883b90 -r fe6699a57be4 share/man/man9/vnodeops.9
--- a/share/man/man9/vnodeops.9 Sat Mar 04 20:34:08 2006 +0000
+++ b/share/man/man9/vnodeops.9 Sat Mar 04 20:36:15 2006 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: vnodeops.9,v 1.42 2005/12/20 19:53:15 rpaulo Exp $
+.\"     $NetBSD: vnodeops.9,v 1.43 2006/03/04 20:36:15 rumble Exp $
 .\"
 .\" Copyright (c) 2001, 2005 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -52,6 +52,7 @@
 .Nm VOP_IOCTL ,
 .Nm VOP_FCNTL ,
 .Nm VOP_POLL ,
+.Nm VOP_KQFILTER ,
 .Nm VOP_REVOKE ,
 .Nm VOP_MMAP ,
 .Nm VOP_FSYNC ,
@@ -135,6 +136,8 @@
 .Ft int
 .Fn VOP_POLL "struct vnode *vp" "int events" "struct lwp *l"
 .Ft int
+.Fn VOP_KQFILTER "struct vnode *vp" "struct knote *kn"
+.Ft int
 .Fn VOP_REVOKE "struct vnode *vp" "int flags"
 .Ft int
 .Fn VOP_MMAP "struct vnode *vp" "int fflags" \
@@ -253,6 +256,7 @@
 int (*vop_ioctl)()     VOP_IOCTL       Perform device-specific I/O
 int (*vop_fcntl)()     VOP_FCNTL       Perform file control
 int (*vop_poll)()      VOP_POLL        Test if poll event has occurred
+int (*vop_kqfilter)()  VOP_KQFILTER    Register a knote
 int (*vop_revoke)()    VOP_REVOKE      Eliminate vode activity
 int (*vop_mmap)()      VOP_MMAP        Map file into user address space
 int (*vop_fsync)()     VOP_FSYNC       Flush pending data to disk
@@ -754,6 +758,13 @@
 .Xr poll 2 .
 If the operation is successful zero is returned, otherwise an
 appropriate error code is returned.
+.It Fn VOP_KQFILTER "vp" "kn"
+Register a knote
+.Fa kn
+with the vnode
+.Fa vn .
+If the operation is successful zero is returned, otherwise an
+appropriate error code is returned.
 .It Fn VOP_REVOKE "vp" "flags"
 Eliminate all activity associated with the vnode
 .Fa vp .
@@ -986,7 +997,7 @@
 .Fa eofflag
 is the pointer to a flag which is set by
 .Fn VOP_READDIR
-to indicate and end-of-file condition.
+to indicate an end-of-file condition.
 If
 .Fa eofflag
 is



Home | Main Index | Thread Index | Old Index