Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 document f_touch



details:   https://anonhg.NetBSD.org/src/rev/0237f2002b6f
branches:  trunk
changeset: 956500:0237f2002b6f
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 31 16:03:01 2020 +0000

description:
document f_touch

diffstat:

 share/man/man9/kfilter_register.9 |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 7718c96aadae -r 0237f2002b6f share/man/man9/kfilter_register.9
--- a/share/man/man9/kfilter_register.9 Sat Oct 31 15:44:01 2020 +0000
+++ b/share/man/man9/kfilter_register.9 Sat Oct 31 16:03:01 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kfilter_register.9,v 1.10 2008/04/30 13:10:58 martin Exp $
+.\"    $NetBSD: kfilter_register.9,v 1.11 2020/10/31 16:03:01 christos Exp $
 .\"
 .\" Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 23, 2002
+.Dd October 31, 2020
 .Dt KFILTER_REGISTER 9
 .Os
 .Sh NAME
@@ -97,6 +97,11 @@
                                /* called when knote is DELETEd */
        int     (*f_event)(struct knote *kn, long hint);
                                /* called when event is triggered */
+       void    (*f_touch)(struct knote *kn, struct kevent *kev, long hint);
+                               /* called during registration and event 
+                                * processing to provide custom handling 
+                                * of event fflags and data
+                                */
 };
 .Ed
 .Pp



Home | Main Index | Thread Index | Old Index