| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: kqueue.2,v 1.51 2020/10/31 01:08:31 christos Exp $ | | 1 | .\" $NetBSD: kqueue.2,v 1.52 2020/10/31 10:51:59 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2000 Jonathan Lemon | | 3 | .\" Copyright (c) 2000 Jonathan Lemon |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Copyright (c) 2001, 2002, 2003 The NetBSD Foundation, Inc. | | 6 | .\" Copyright (c) 2001, 2002, 2003 The NetBSD Foundation, Inc. |
7 | .\" All rights reserved. | | 7 | .\" All rights reserved. |
8 | .\" | | 8 | .\" |
9 | .\" Portions of this documentation is derived from text contributed by | | 9 | .\" Portions of this documentation is derived from text contributed by |
10 | .\" Luke Mewburn. | | 10 | .\" Luke Mewburn. |
11 | .\" | | 11 | .\" |
12 | .\" Redistribution and use in source and binary forms, with or without | | 12 | .\" Redistribution and use in source and binary forms, with or without |
13 | .\" modification, are permitted provided that the following conditions | | 13 | .\" modification, are permitted provided that the following conditions |
14 | .\" are met: | | 14 | .\" are met: |
| @@ -127,27 +127,27 @@ structures, as defined in | | | @@ -127,27 +127,27 @@ structures, as defined in |
127 | .In sys/event.h . | | 127 | .In sys/event.h . |
128 | All changes contained in the | | 128 | All changes contained in the |
129 | .Fa changelist | | 129 | .Fa changelist |
130 | are applied before any pending events are read from the queue. | | 130 | are applied before any pending events are read from the queue. |
131 | The | | 131 | The |
132 | .Fa nchanges | | 132 | .Fa nchanges |
133 | argument | | 133 | argument |
134 | gives the size of | | 134 | gives the size of |
135 | .Fa changelist . | | 135 | .Fa changelist . |
136 | The | | 136 | The |
137 | .Fa eventlist | | 137 | .Fa eventlist |
138 | argument | | 138 | argument |
139 | is a pointer to an array of kevent structures. | | 139 | is a pointer to an array of kevent structures. |
140 | The | | 140 | The |
141 | .Fa nevents | | 141 | .Fa nevents |
142 | argument | | 142 | argument |
143 | determines the size of | | 143 | determines the size of |
144 | .Fa eventlist . | | 144 | .Fa eventlist . |
145 | When | | 145 | When |
146 | .Fa nevents | | 146 | .Fa nevents |
147 | is zero, | | 147 | is zero, |
148 | .Fn kevent | | 148 | .Fn kevent |
149 | will return immediately even if there is a | | 149 | will return immediately even if there is a |
150 | .Fa timeout | | 150 | .Fa timeout |
151 | specified unlike | | 151 | specified unlike |
152 | .Xr select 2 . | | 152 | .Xr select 2 . |
153 | If | | 153 | If |