Module Name: src Committed By: wiz Date: Fri Jul 28 23:41:16 UTC 2023
Modified Files: src/lib/libc/sys: epoll.2 kqueue.2 Log Message: Fix some macro( usage)s To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/sys/epoll.2 cvs rdiff -u -r1.59 -r1.60 src/lib/libc/sys/kqueue.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/epoll.2 diff -u src/lib/libc/sys/epoll.2:1.1 src/lib/libc/sys/epoll.2:1.2 --- src/lib/libc/sys/epoll.2:1.1 Fri Jul 28 18:19:00 2023 +++ src/lib/libc/sys/epoll.2 Fri Jul 28 23:41:16 2023 @@ -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 Index: src/lib/libc/sys/kqueue.2 diff -u src/lib/libc/sys/kqueue.2:1.59 src/lib/libc/sys/kqueue.2:1.60 --- src/lib/libc/sys/kqueue.2:1.59 Fri Jul 28 18:19:00 2023 +++ src/lib/libc/sys/kqueue.2 Fri Jul 28 23:41:16 2023 @@ -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