Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Fix some macro( usage)s
details: https://anonhg.NetBSD.org/src/rev/33f68c43548b
branches: trunk
changeset: 378269:33f68c43548b
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Jul 28 23:41:16 2023 +0000
description:
Fix some macro( usage)s
diffstat:
lib/libc/sys/epoll.2 | 16 ++++++++--------
lib/libc/sys/kqueue.2 | 6 +++---
2 files changed, 11 insertions(+), 11 deletions(-)
diffs (78 lines):
diff -r 107ada175801 -r 33f68c43548b lib/libc/sys/epoll.2
--- a/lib/libc/sys/epoll.2 Fri Jul 28 23:41:02 2023 +0000
+++ b/lib/libc/sys/epoll.2 Fri Jul 28 23:41:16 2023 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: epoll.2,v 1.1 2023/07/28 18:19:00 christos Exp $
+.\" $NetBSD: epoll.2,v 1.2 2023/07/28 23:41:16 wiz Exp $
.\"
.\" Copyright (c) 2023 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -94,16 +94,16 @@ The
field is passed through the kernel and is intended to be used to identify the
event.
When used with
-.Fa epoll_ctl ,
+.Fn epoll_ctl ,
the
.Va events
field consists of a mask of the events that the
.Nm
instance should watch for, and when being used with
-.Fa epoll_wait ,
-.Fa epoll_pwait ,
+.Fn epoll_wait ,
+.Fn epoll_pwait ,
and
-.Fa epoll_pwait2
+.Fn epoll_pwait2
consists of a mask of the events that occurred.
The following are possible values for
.Va events :
@@ -155,7 +155,7 @@ of
to set the
.Xr close 2
on
-.Xr exec 2
+.Xr exec 3
flag.
.Pp
.Fn epoll_ctl
@@ -216,9 +216,9 @@ should be specified as
.Dv NULL .
Additionally,
a sigmask may be specified to
-.Fa epoll_pwait
+.Fn epoll_pwait
and
-.Fa epoll_pwait2
+.Fn epoll_pwait2
in
.Fa sigmask
to set the sigmask while
diff -r 107ada175801 -r 33f68c43548b lib/libc/sys/kqueue.2
--- a/lib/libc/sys/kqueue.2 Fri Jul 28 23:41:02 2023 +0000
+++ b/lib/libc/sys/kqueue.2 Fri Jul 28 23:41:16 2023 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: kqueue.2,v 1.59 2023/07/28 18:19:00 christos Exp $
+.\" $NetBSD: kqueue.2,v 1.60 2023/07/28 23:41:16 wiz Exp $
.\"
.\" Copyright (c) 2000 Jonathan Lemon
.\" All rights reserved.
@@ -571,7 +571,7 @@ contains the number of times the timeout
This filter automatically sets
.Dv EV_CLEAR
in
-.va flags
+.Va flags
for periodic timers.
Timers created with
.Dv NOTE_ABSTIME
@@ -582,7 +582,7 @@ or
are also specified.
.Dv CLOCK_REALTIME
is the reference clock for timers created with
-.Dv NOTE_ABSTIME.
+.Dv NOTE_ABSTIME .
.Pp
The filter accepts the following flags in the
.Va fflags
Home |
Main Index |
Thread Index |
Old Index