| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:23+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "epoll_ctl" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2025-12-25" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "epoll_ctl - control interface for an epoll file descriptor" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>sys/epoll.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<int epoll_ctl(int >I<epfd>B<, int >I<op>B<, int >I<fd>B<,>\n" |
| 85 |
"B< struct epoll_event *_Nullable >I<event>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: SH |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "DESCRIPTION" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"This system call is used to add, modify, or remove entries in the interest " |
| 100 |
"list of the B<epoll>(7) instance referred to by the file descriptor " |
| 101 |
"I<epfd>. It requests that the operation I<op> be performed for the target " |
| 102 |
"file descriptor, I<fd>." |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "Valid values for the I<op> argument are:" |
| 109 |
msgstr "" |
| 110 |
|
| 111 |
#. type: TP |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
#, no-wrap |
| 115 |
msgid "B<EPOLL_CTL_ADD>" |
| 116 |
msgstr "" |
| 117 |
|
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
msgid "" |
| 122 |
"Add an entry to the interest list of the epoll file descriptor, I<epfd>. " |
| 123 |
"The entry includes the file descriptor, I<fd>, a reference to the " |
| 124 |
"corresponding open file description (see B<epoll>(7) and B<open>(2)), and " |
| 125 |
"the settings specified in I<event>." |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: TP |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
#, no-wrap |
| 132 |
msgid "B<EPOLL_CTL_MOD>" |
| 133 |
msgstr "" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "" |
| 139 |
"Change the settings associated with I<fd> in the interest list to the new " |
| 140 |
"settings specified in I<event>." |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#. type: TP |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
#, no-wrap |
| 147 |
msgid "B<EPOLL_CTL_DEL>" |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
msgid "" |
| 154 |
"Remove (deregister) the target file descriptor I<fd> from the interest " |
| 155 |
"list. The I<event> argument is ignored and can be NULL (but see BUGS below)." |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"The I<event> argument describes the object linked to the file descriptor " |
| 163 |
"I<fd>. The I<struct epoll_event> is described in B<epoll_event>(3type)." |
| 164 |
msgstr "" |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
msgid "" |
| 170 |
"The I<data> member of the I<epoll_event> structure specifies data that the " |
| 171 |
"kernel should save and then return (via B<epoll_wait>(2)) when this file " |
| 172 |
"descriptor becomes ready." |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 177 |
#: opensuse-tumbleweed |
| 178 |
msgid "" |
| 179 |
"The I<events> member of the I<epoll_event> structure is a bit mask composed " |
| 180 |
"by ORing together zero or more event types, returned by B<epoll_wait>(2), " |
| 181 |
"and input flags, which affect its behavior, but aren't returned. The " |
| 182 |
"available event types are:" |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: TP |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, no-wrap |
| 189 |
msgid "B<EPOLLIN>" |
| 190 |
msgstr "" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
msgid "The associated file is available for B<read>(2) operations." |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: TP |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "B<EPOLLOUT>" |
| 203 |
msgstr "" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
msgid "The associated file is available for B<write>(2) operations." |
| 209 |
msgstr "" |
| 210 |
|
| 211 |
#. type: TP |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "B<EPOLLRDHUP> (since Linux 2.6.17)" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "" |
| 222 |
"Stream socket peer closed connection, or shut down writing half of " |
| 223 |
"connection. (This flag is especially useful for writing simple code to " |
| 224 |
"detect peer shutdown when using edge-triggered monitoring.)" |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: TP |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "B<EPOLLPRI>" |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "" |
| 238 |
"There is an exceptional condition on the file descriptor. See the " |
| 239 |
"discussion of B<POLLPRI> in B<poll>(2)." |
| 240 |
msgstr "" |
| 241 |
|
| 242 |
#. type: TP |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "B<EPOLLERR>" |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
msgid "" |
| 253 |
"Error condition happened on the associated file descriptor. This event is " |
| 254 |
"also reported for the write end of a pipe when the read end has been closed." |
| 255 |
msgstr "" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
msgid "" |
| 261 |
"B<epoll_wait>(2) will always report for this event; it is not necessary to " |
| 262 |
"set it in I<events> when calling B<epoll_ctl>()." |
| 263 |
msgstr "" |
| 264 |
|
| 265 |
#. type: TP |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
#, no-wrap |
| 269 |
msgid "B<EPOLLHUP>" |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "Hang up happened on the associated file descriptor." |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
msgid "" |
| 282 |
"B<epoll_wait>(2) will always wait for this event; it is not necessary to " |
| 283 |
"set it in I<events> when calling B<epoll_ctl>()." |
| 284 |
msgstr "" |
| 285 |
|
| 286 |
#. type: Plain text |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
msgid "" |
| 290 |
"Note that when reading from a channel such as a pipe or a stream socket, " |
| 291 |
"this event merely indicates that the peer closed its end of the channel. " |
| 292 |
"Subsequent reads from the channel will return 0 (end of file) only after " |
| 293 |
"all outstanding data in the channel has been consumed." |
| 294 |
msgstr "" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "And the available input flags are:" |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
#. type: TP |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "B<EPOLLET>" |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: Plain text |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
msgid "" |
| 313 |
"Requests edge-triggered notification for the associated file descriptor. " |
| 314 |
"The default behavior for B<epoll> is level-triggered. See B<epoll>(7) for " |
| 315 |
"more detailed information about edge-triggered and level-triggered " |
| 316 |
"notification." |
| 317 |
msgstr "" |
| 318 |
|
| 319 |
#. type: TP |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
#, no-wrap |
| 323 |
msgid "B<EPOLLONESHOT> (since Linux 2.6.2)" |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
msgid "" |
| 330 |
"Requests one-shot notification for the associated file descriptor. This " |
| 331 |
"means that after an event notified for the file descriptor by " |
| 332 |
"B<epoll_wait>(2), the file descriptor is disabled in the interest list and " |
| 333 |
"no other events will be reported by the B<epoll> interface. The user must " |
| 334 |
"call B<epoll_ctl>() with B<EPOLL_CTL_MOD> to rearm the file descriptor with " |
| 335 |
"a new event mask." |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: TP |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "B<EPOLLWAKEUP> (since Linux 3.5)" |
| 343 |
msgstr "" |
| 344 |
|
| 345 |
#. commit 4d7e30d98939a0340022ccd49325a3d70f7e0238 |
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
msgid "" |
| 350 |
"If B<EPOLLONESHOT> and B<EPOLLET> are clear and the process has the " |
| 351 |
"B<CAP_BLOCK_SUSPEND> capability, ensure that the system does not enter " |
| 352 |
"\"suspend\" or \"hibernate\" while this event is pending or being " |
| 353 |
"processed. The event is considered as being \"processed\" from the time " |
| 354 |
"when it is returned by a call to B<epoll_wait>(2) until the next call to " |
| 355 |
"B<epoll_wait>(2) on the same B<epoll>(7) file descriptor, the closure of " |
| 356 |
"that file descriptor, the removal of the event file descriptor with " |
| 357 |
"B<EPOLL_CTL_DEL>, or the clearing of B<EPOLLWAKEUP> for the event file " |
| 358 |
"descriptor with B<EPOLL_CTL_MOD>. See also BUGS." |
| 359 |
msgstr "" |
| 360 |
|
| 361 |
#. type: TP |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
#, no-wrap |
| 365 |
msgid "B<EPOLLEXCLUSIVE> (since Linux 4.5)" |
| 366 |
msgstr "" |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
msgid "" |
| 372 |
"Sets an exclusive wakeup mode for the epoll file descriptor that is being " |
| 373 |
"attached to the target file descriptor, I<fd>. When a wakeup event occurs " |
| 374 |
"and multiple epoll file descriptors are attached to the same target file " |
| 375 |
"using B<EPOLLEXCLUSIVE>, one or more of the epoll file descriptors will " |
| 376 |
"receive an event with B<epoll_wait>(2). The default in this scenario (when " |
| 377 |
"B<EPOLLEXCLUSIVE> is not set) is for all epoll file descriptors to receive " |
| 378 |
"an event. B<EPOLLEXCLUSIVE> is thus useful for avoiding thundering herd " |
| 379 |
"problems in certain scenarios." |
| 380 |
msgstr "" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
msgid "" |
| 386 |
"If the same file descriptor is in multiple epoll instances, some with the " |
| 387 |
"B<EPOLLEXCLUSIVE> flag, and others without, then events will be provided to " |
| 388 |
"all epoll instances that did not specify B<EPOLLEXCLUSIVE>, and at least one " |
| 389 |
"of the epoll instances that did specify B<EPOLLEXCLUSIVE>." |
| 390 |
msgstr "" |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
msgid "" |
| 396 |
"The following values may be specified in conjunction with B<EPOLLEXCLUSIVE>: " |
| 397 |
"B<EPOLLIN>, B<EPOLLOUT>, B<EPOLLWAKEUP>, and B<EPOLLET>. B<EPOLLHUP> and " |
| 398 |
"B<EPOLLERR> can also be specified, but this is not required: as usual, these " |
| 399 |
"events are always reported if they occur, regardless of whether they are " |
| 400 |
"specified in I<events>. Attempts to specify other values in I<events> yield " |
| 401 |
"the error B<EINVAL>." |
| 402 |
msgstr "" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
msgid "" |
| 408 |
"B<EPOLLEXCLUSIVE> may be used only in an B<EPOLL_CTL_ADD> operation; " |
| 409 |
"attempts to employ it with B<EPOLL_CTL_MOD> yield an error. If " |
| 410 |
"B<EPOLLEXCLUSIVE> has been set using B<epoll_ctl>(), then a subsequent " |
| 411 |
"B<EPOLL_CTL_MOD> on the same I<epfd>,\\ I<fd> pair yields an error. A call " |
| 412 |
"to B<epoll_ctl>() that specifies B<EPOLLEXCLUSIVE> in I<events> and " |
| 413 |
"specifies the target file descriptor I<fd> as an epoll instance will " |
| 414 |
"likewise fail. The error in all of these cases is B<EINVAL>." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
#. type: SH |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
#, no-wrap |
| 421 |
msgid "RETURN VALUE" |
| 422 |
msgstr "" |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
msgid "" |
| 428 |
"When successful, B<epoll_ctl>() returns zero. When an error occurs, " |
| 429 |
"B<epoll_ctl>() returns -1 and I<errno> is set to indicate the error." |
| 430 |
msgstr "" |
| 431 |
|
| 432 |
#. type: SH |
| 433 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 434 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 435 |
#, no-wrap |
| 436 |
msgid "ERRORS" |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: TP |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
#, no-wrap |
| 443 |
msgid "B<EBADF>" |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
msgid "I<epfd> or I<fd> is not a valid file descriptor." |
| 450 |
msgstr "" |
| 451 |
|
| 452 |
#. type: TP |
| 453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 455 |
#, no-wrap |
| 456 |
msgid "B<EEXIST>" |
| 457 |
msgstr "" |
| 458 |
|
| 459 |
#. type: Plain text |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
msgid "" |
| 463 |
"I<op> was B<EPOLL_CTL_ADD>, and the supplied file descriptor I<fd> is " |
| 464 |
"already registered with this epoll instance." |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
#. type: TP |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, no-wrap |
| 471 |
msgid "B<EINVAL>" |
| 472 |
msgstr "" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
msgid "" |
| 478 |
"I<epfd> is not an B<epoll> file descriptor, or I<fd> is the same as I<epfd>, " |
| 479 |
"or the requested operation I<op> is not supported by this interface." |
| 480 |
msgstr "" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "" |
| 486 |
"An invalid event type was specified along with B<EPOLLEXCLUSIVE> in " |
| 487 |
"I<events>." |
| 488 |
msgstr "" |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
msgid "I<op> was B<EPOLL_CTL_MOD> and I<events> included B<EPOLLEXCLUSIVE>." |
| 494 |
msgstr "" |
| 495 |
|
| 496 |
#. type: Plain text |
| 497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 499 |
msgid "" |
| 500 |
"I<op> was B<EPOLL_CTL_MOD> and the B<EPOLLEXCLUSIVE> flag has previously " |
| 501 |
"been applied to this I<epfd>,\\ I<fd> pair." |
| 502 |
msgstr "" |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
msgid "" |
| 508 |
"B<EPOLLEXCLUSIVE> was specified in I<event> and I<fd> refers to an epoll " |
| 509 |
"instance." |
| 510 |
msgstr "" |
| 511 |
|
| 512 |
#. type: TP |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
#, no-wrap |
| 516 |
msgid "B<ELOOP>" |
| 517 |
msgstr "" |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
msgid "" |
| 523 |
"I<fd> refers to an epoll instance and this B<EPOLL_CTL_ADD> operation would " |
| 524 |
"result in a circular loop of epoll instances monitoring one another or a " |
| 525 |
"nesting depth of epoll instances greater than 5." |
| 526 |
msgstr "" |
| 527 |
|
| 528 |
#. type: TP |
| 529 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 530 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 531 |
#, no-wrap |
| 532 |
msgid "B<ENOENT>" |
| 533 |
msgstr "" |
| 534 |
|
| 535 |
#. type: Plain text |
| 536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 538 |
msgid "" |
| 539 |
"I<op> was B<EPOLL_CTL_MOD> or B<EPOLL_CTL_DEL>, and I<fd> is not registered " |
| 540 |
"with this epoll instance." |
| 541 |
msgstr "" |
| 542 |
|
| 543 |
#. type: TP |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
#, no-wrap |
| 547 |
msgid "B<ENOMEM>" |
| 548 |
msgstr "" |
| 549 |
|
| 550 |
#. type: Plain text |
| 551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 553 |
msgid "" |
| 554 |
"There was insufficient memory to handle the requested I<op> control " |
| 555 |
"operation." |
| 556 |
msgstr "" |
| 557 |
|
| 558 |
#. type: TP |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
#, no-wrap |
| 562 |
msgid "B<ENOSPC>" |
| 563 |
msgstr "" |
| 564 |
|
| 565 |
#. type: Plain text |
| 566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 568 |
msgid "" |
| 569 |
"The limit imposed by I</proc/sys/fs/epoll/max_user_watches> was encountered " |
| 570 |
"while trying to register (B<EPOLL_CTL_ADD>) a new file descriptor on an " |
| 571 |
"epoll instance. See B<epoll>(7) for further details." |
| 572 |
msgstr "" |
| 573 |
|
| 574 |
#. type: TP |
| 575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
#, no-wrap |
| 578 |
msgid "B<EPERM>" |
| 579 |
msgstr "" |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 583 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 584 |
msgid "" |
| 585 |
"The target file I<fd> does not support B<epoll>. This error can occur if " |
| 586 |
"I<fd> refers to, for example, a regular file or a directory." |
| 587 |
msgstr "" |
| 588 |
|
| 589 |
#. type: SH |
| 590 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 591 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 592 |
#, no-wrap |
| 593 |
msgid "STANDARDS" |
| 594 |
msgstr "" |
| 595 |
|
| 596 |
#. type: Plain text |
| 597 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 598 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 599 |
msgid "Linux." |
| 600 |
msgstr "" |
| 601 |
|
| 602 |
#. type: SH |
| 603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
#, no-wrap |
| 606 |
msgid "HISTORY" |
| 607 |
msgstr "" |
| 608 |
|
| 609 |
#. To be precise: Linux 2.5.44. |
| 610 |
#. The interface should be finalized by Linux 2.5.66. |
| 611 |
#. type: Plain text |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
msgid "Linux 2.6, glibc 2.3.2." |
| 615 |
msgstr "" |
| 616 |
|
| 617 |
#. type: SH |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
#, no-wrap |
| 621 |
msgid "NOTES" |
| 622 |
msgstr "" |
| 623 |
|
| 624 |
#. type: Plain text |
| 625 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 626 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 627 |
msgid "" |
| 628 |
"The B<epoll> interface supports all file descriptors that support B<poll>(2)." |
| 629 |
msgstr "" |
| 630 |
|
| 631 |
#. type: SH |
| 632 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 633 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 634 |
#, no-wrap |
| 635 |
msgid "BUGS" |
| 636 |
msgstr "" |
| 637 |
|
| 638 |
#. type: Plain text |
| 639 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 640 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 641 |
msgid "" |
| 642 |
"Before Linux 2.6.9, the B<EPOLL_CTL_DEL> operation required a non-null " |
| 643 |
"pointer in I<event>, even though this argument is ignored. Since Linux " |
| 644 |
"2.6.9, I<event> can be specified as NULL when using B<EPOLL_CTL_DEL>. " |
| 645 |
"Applications that need to be portable to kernels before Linux 2.6.9 should " |
| 646 |
"specify a non-null pointer in I<event>." |
| 647 |
msgstr "" |
| 648 |
|
| 649 |
#. commit a8159414d7e3af7233e7a5a82d1c5d85379bd75c (behavior change) |
| 650 |
#. https://lwn.net/Articles/520198/ |
| 651 |
#. type: Plain text |
| 652 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 653 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 654 |
msgid "" |
| 655 |
"If B<EPOLLWAKEUP> is specified in I<flags>, but the caller does not have the " |
| 656 |
"B<CAP_BLOCK_SUSPEND> capability, then the B<EPOLLWAKEUP> flag is I<silently " |
| 657 |
"ignored>. This unfortunate behavior is necessary because no validity checks " |
| 658 |
"were performed on the I<flags> argument in the original implementation, and " |
| 659 |
"the addition of the B<EPOLLWAKEUP> with a check that caused the call to fail " |
| 660 |
"if the caller did not have the B<CAP_BLOCK_SUSPEND> capability caused a " |
| 661 |
"breakage in at least one existing user-space application that happened to " |
| 662 |
"randomly (and uselessly) specify this bit. A robust application should " |
| 663 |
"therefore double check that it has the B<CAP_BLOCK_SUSPEND> capability if " |
| 664 |
"attempting to use the B<EPOLLWAKEUP> flag." |
| 665 |
msgstr "" |
| 666 |
|
| 667 |
#. type: SH |
| 668 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 669 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 670 |
#, no-wrap |
| 671 |
msgid "SEE ALSO" |
| 672 |
msgstr "" |
| 673 |
|
| 674 |
#. type: Plain text |
| 675 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 676 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 677 |
msgid "" |
| 678 |
"B<epoll_create>(2), B<epoll_wait>(2), B<ioctl_eventpoll>(2), B<poll>(2), " |
| 679 |
"B<epoll>(7)" |
| 680 |
msgstr "" |
| 681 |
|
| 682 |
#. type: TH |
| 683 |
#: debian-trixie |
| 684 |
#, no-wrap |
| 685 |
msgid "2024-06-12" |
| 686 |
msgstr "" |
| 687 |
|
| 688 |
#. type: TH |
| 689 |
#: debian-trixie |
| 690 |
#, no-wrap |
| 691 |
msgid "Linux man-pages 6.9.1" |
| 692 |
msgstr "" |
| 693 |
|
| 694 |
#. type: Plain text |
| 695 |
#: debian-trixie |
| 696 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 697 |
msgstr "" |
| 698 |
|
| 699 |
#. type: Plain text |
| 700 |
#: debian-trixie fedora-44 fedora-rawhide |
| 701 |
msgid "" |
| 702 |
"The I<events> member of the I<epoll_event> structure is a bit mask composed " |
| 703 |
"by ORing together zero or more event types, returned by B<epoll_wait>(2), " |
| 704 |
"and input flags, which affect its behaviour, but aren't returned. The " |
| 705 |
"available event types are:" |
| 706 |
msgstr "" |
| 707 |
|
| 708 |
#. type: TH |
| 709 |
#: fedora-44 fedora-rawhide |
| 710 |
#, no-wrap |
| 711 |
msgid "2024-07-23" |
| 712 |
msgstr "" |
| 713 |
|
| 714 |
#. type: TH |
| 715 |
#: fedora-44 fedora-rawhide |
| 716 |
#, no-wrap |
| 717 |
msgid "Linux man-pages 6.13" |
| 718 |
msgstr "" |
| 719 |
|
| 720 |
#. type: TH |
| 721 |
#: mageia-cauldron |
| 722 |
#, no-wrap |
| 723 |
msgid "Linux man-pages 6.17" |
| 724 |
msgstr "" |
| 725 |
|
| 726 |
#. type: TH |
| 727 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 728 |
#, no-wrap |
| 729 |
msgid "Linux man-pages (unreleased)" |
| 730 |
msgstr "" |