Debian Codegraph @

templates/man2/io_submit.2.pot

raw
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:28+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 "io_submit"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-04-11"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "io_submit - submit asynchronous I/O blocks for processing"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr ""
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr ""
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid ""
75 "B<#include E<lt>linux/aio_abi.hE<gt>>\n"
76 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of SYS_* constants */\n"
77 "B<#include E<lt>unistd.hE<gt>>\n"
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int\\ syscall(SYS_io_submit, aio_context_t\\ >I<ctx_id>B<,>\n"
85 "B< long\\ >I<n>B<, struct\\ iocb\\ *>I<iocbpp>B<[>I<n>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-unstable opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "I<Note>: you probably want to use the B<io_setup>(3) wrapper function "
99 "provided by I<libaio>; see VERSIONS."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "The B<io_submit>() system call queues I<n> I/O request blocks for "
106 "processing in the AIO context I<ctx_id>. The I<iocbpp> argument should be "
107 "an array of I<n> AIO control blocks, which will be submitted to context "
108 "I<ctx_id>."
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "The I<iocb> (I/O control block) structure defined in I<linux/aio_abi.h> "
116 "defines the parameters that control the I/O operation."
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 #, no-wrap
123 msgid ""
124 "#include E<lt>linux/aio_abi.hE<gt>\n"
125 "\\&\n"
126 "struct iocb {\n"
127 " __u64 aio_data;\n"
128 " __u32 PADDED(aio_key, aio_rw_flags);\n"
129 " __u16 aio_lio_opcode;\n"
130 " __s16 aio_reqprio;\n"
131 " __u32 aio_fildes;\n"
132 " __u64 aio_buf;\n"
133 " __u64 aio_nbytes;\n"
134 " __s64 aio_offset;\n"
135 " __u64 aio_reserved2;\n"
136 " __u32 aio_flags;\n"
137 " __u32 aio_resfd;\n"
138 "};\n"
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid "The fields of this structure are as follows:"
145 msgstr ""
146
147 #. type: TP
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "I<aio_data>"
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "This data is copied into the I<data> field of the I<io_event> structure upon "
159 "I/O completion (see B<io_getevents>(2))."
160 msgstr ""
161
162 #. type: TP
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "I<aio_key>"
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "This is an internal field used by the kernel. Do not modify this field "
174 "after an B<io_submit>() call."
175 msgstr ""
176
177 #. type: TP
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "I<aio_rw_flags>"
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid ""
188 "This defines the R/W flags passed with structure. The valid values are:"
189 msgstr ""
190
191 #. type: TP
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "B<RWF_APPEND> (since Linux 4.16)"
196 msgstr ""
197
198 #. commit e1fc742e14e01d84d9693c4aca4ab23da65811fb
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "Append data to the end of the file. See the description of the flag of the "
204 "same name in B<pwritev2>(2) as well as the description of B<O_APPEND> in "
205 "B<open>(2). The I<aio_offset> field is ignored. The file offset is not "
206 "changed."
207 msgstr ""
208
209 #. type: TP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "B<RWF_DSYNC> (since Linux 4.13)"
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "Write operation complete according to requirement of synchronized I/O data "
221 "integrity. See the description of the flag of the same name in "
222 "B<pwritev2>(2) as well the description of B<O_DSYNC> in B<open>(2)."
223 msgstr ""
224
225 #. type: TP
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "B<RWF_HIPRI> (since Linux 4.13)"
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid "High priority request, poll if possible"
236 msgstr ""
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "B<RWF_NOWAIT> (since Linux 4.14)"
243 msgstr ""
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid ""
249 "Don't wait if the I/O will block for operations such as file block "
250 "allocations, dirty page flush, mutex locks, or a congested block device "
251 "inside the kernel. If any of these conditions are met, the control block is "
252 "returned immediately with a return value of B<-EAGAIN> in the I<res> field "
253 "of the I<io_event> structure (see B<io_getevents>(2))."
254 msgstr ""
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "B<RWF_SYNC> (since Linux 4.13)"
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "Write operation complete according to requirement of synchronized I/O file "
268 "integrity. See the description of the flag of the same name in "
269 "B<pwritev2>(2) as well the description of B<O_SYNC> in B<open>(2)."
270 msgstr ""
271
272 #. type: TP
273 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
274 #: opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<RWF_NOAPPEND> (since Linux 6.9)"
277 msgstr ""
278
279 #. type: Plain text
280 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
281 #: opensuse-leap-16-1 opensuse-tumbleweed
282 msgid ""
283 "Do not honor B<O_APPEND> B<open>(2) flag. See the description of "
284 "B<RWF_NOAPPEND> in B<pwritev2>(2)."
285 msgstr ""
286
287 #. type: TP
288 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
289 #: opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "B<RWF_ATOMIC> (since Linux 6.11)"
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
296 #: opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "Write a block of data such that a write will never be torn from power fail "
299 "or similar. See the description of B<RWF_ATOMIC> in B<pwritev2>(2). For "
300 "usage with B<IOCB_CMD_PWRITEV>, the upper vector limit is "
301 "I<stx_atomic_write_segments_max.> See B<STATX_WRITE_ATOMIC> and "
302 "I<stx_atomic_write_segments_max> description in B<statx>(2)."
303 msgstr ""
304
305 #. type: TP
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "I<aio_lio_opcode>"
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "This defines the type of I/O to be performed by the I<iocb> structure. The "
317 "valid values are defined by the enum defined in I<linux/aio_abi.h>:"
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid ""
325 "enum {\n"
326 " IOCB_CMD_PREAD = 0,\n"
327 " IOCB_CMD_PWRITE = 1,\n"
328 " IOCB_CMD_FSYNC = 2,\n"
329 " IOCB_CMD_FDSYNC = 3,\n"
330 " IOCB_CMD_POLL = 5,\n"
331 " IOCB_CMD_NOOP = 6,\n"
332 " IOCB_CMD_PREADV = 7,\n"
333 " IOCB_CMD_PWRITEV = 8,\n"
334 "};\n"
335 msgstr ""
336
337 #. type: TP
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "I<aio_reqprio>"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid "This defines the requests priority."
348 msgstr ""
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "I<aio_fildes>"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid "The file descriptor on which the I/O operation is to be performed."
361 msgstr ""
362
363 #. type: TP
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "I<aio_buf>"
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 msgid "This is the buffer used to transfer data for a read or write operation."
374 msgstr ""
375
376 #. type: TP
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "I<aio_nbytes>"
381 msgstr ""
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid "This is the size of the buffer pointed to by I<aio_buf>."
387 msgstr ""
388
389 #. type: TP
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "I<aio_offset>"
394 msgstr ""
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid "This is the file offset at which the I/O operation is to be performed."
400 msgstr ""
401
402 #. type: TP
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "I<aio_flags>"
407 msgstr ""
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "This is the set of flags associated with the I<iocb> structure. The valid "
414 "values are:"
415 msgstr ""
416
417 #. type: TP
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "B<IOCB_FLAG_RESFD>"
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 "Asynchronous I/O control must signal the file descriptor mentioned in "
429 "I<aio_resfd> upon completion."
430 msgstr ""
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<IOCB_FLAG_IOPRIO> (since Linux 4.18)"
437 msgstr ""
438
439 #. commit d9a08a9e616beeccdbd0e7262b7225ffdfa49e92
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "Interpret the I<aio_reqprio> field as an B<IOPRIO_VALUE> as defined by "
445 "I<linux/ioprio.h>."
446 msgstr ""
447
448 #. type: TP
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "I<aio_resfd>"
453 msgstr ""
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid ""
459 "The file descriptor to signal in the event of asynchronous I/O completion."
460 msgstr ""
461
462 #. type: SH
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid "RETURN VALUE"
467 msgstr ""
468
469 #. type: Plain text
470 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
471 msgid ""
472 "On success, B<io_submit>() returns the number of I<iocb>s submitted (which "
473 "may be less than I<n>, or 0 if I<n> is zero)."
474 msgstr ""
475
476 #. type: Plain text
477 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
478 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
479 msgstr ""
480
481 #. type: SH
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "ERRORS"
486 msgstr ""
487
488 #. type: TP
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "B<EAGAIN>"
493 msgstr ""
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid "Insufficient resources are available to queue any I<iocb>s."
499 msgstr ""
500
501 #. type: TP
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 #, no-wrap
505 msgid "B<EBADF>"
506 msgstr ""
507
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 msgid "The file descriptor specified in the first I<iocb> is invalid."
512 msgstr ""
513
514 #. type: TP
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "B<EFAULT>"
519 msgstr ""
520
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 msgid "One of the data structures points to invalid data."
525 msgstr ""
526
527 #. type: TP
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 #, no-wrap
531 msgid "B<EINVAL>"
532 msgstr ""
533
534 #. type: Plain text
535 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
536 msgid "The AIO context specified by I<ctx_id> is invalid."
537 msgstr ""
538
539 #. type: Plain text
540 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
541 msgid "I<n> is less than 0."
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
546 msgid "The I<iocb> at I<*iocbpp[0]> is not properly initialized."
547 msgstr ""
548
549 #. type: Plain text
550 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
551 msgid ""
552 "The operation specified is invalid for the file descriptor in the I<iocb>."
553 msgstr ""
554
555 #. type: Plain text
556 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
557 msgid "The value in the I<aio_reqprio> field is invalid."
558 msgstr ""
559
560 #. type: TP
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "B<ENOSYS>"
565 msgstr ""
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid "B<io_submit>() is not implemented on this architecture."
571 msgstr ""
572
573 #. type: TP
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 #, no-wrap
577 msgid "B<EPERM>"
578 msgstr ""
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "The I<aio_reqprio> field is set with the class B<IOPRIO_CLASS_RT>, but the "
585 "submitting context does not have the B<CAP_SYS_ADMIN> capability."
586 msgstr ""
587
588 #. type: SH
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "VERSIONS"
593 msgstr ""
594
595 #. type: Plain text
596 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
597 msgid ""
598 "E<.UR https://pagure.io/libaio> I<libaio> E<.UE> provides a wrapper function "
599 "with the same name, but different prototype and return value. You probably "
600 "want to use that wrapper."
601 msgstr ""
602
603 #. type: SH
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid "STANDARDS"
608 msgstr ""
609
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 msgid "Linux."
614 msgstr ""
615
616 #. type: SH
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 #, no-wrap
620 msgid "HISTORY"
621 msgstr ""
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 msgid "Linux 2.5."
627 msgstr ""
628
629 #. type: SH
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 #, no-wrap
633 msgid "SEE ALSO"
634 msgstr ""
635
636 #. type: Plain text
637 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
638 msgid ""
639 "B<io_cancel>(2), B<io_destroy>(2), B<io_getevents>(2), B<io_setup>(2), "
640 "B<io_submit>(3), B<aio>(7)"
641 msgstr ""
642
643 #. type: TH
644 #: debian-trixie
645 #, no-wrap
646 msgid "2024-05-02"
647 msgstr ""
648
649 #. type: TH
650 #: debian-trixie
651 #, no-wrap
652 msgid "Linux man-pages 6.9.1"
653 msgstr ""
654
655 #. type: Plain text
656 #: debian-trixie
657 msgid "Standard C library (I<libc>, I<-lc>)"
658 msgstr ""
659
660 #. type: Plain text
661 #: debian-trixie
662 msgid ""
663 "Alternatively, Asynchronous I/O library (I<libaio>, I<-laio>); see VERSIONS."
664 msgstr ""
665
666 #. type: Plain text
667 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
668 #, no-wrap
669 msgid "B<#include E<lt>linux/aio_abi.hE<gt>> /* Defines needed types */\n"
670 msgstr ""
671
672 #. type: Plain text
673 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
674 #, no-wrap
675 msgid "B<int io_submit(aio_context_t >I<ctx_id>B<, long >I<nr>B<, struct iocb **>I<iocbpp>B<);>\n"
676 msgstr ""
677
678 #. type: Plain text
679 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
680 msgid "I<Note>: There is no glibc wrapper for this system call; see VERSIONS."
681 msgstr ""
682
683 #. type: Plain text
684 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
685 msgid ""
686 "I<Note>: this page describes the raw Linux system call interface. The "
687 "wrapper function provided by I<libaio> uses a different type for the "
688 "I<ctx_id> argument. See VERSIONS."
689 msgstr ""
690
691 #. type: Plain text
692 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
693 msgid ""
694 "The B<io_submit>() system call queues I<nr> I/O request blocks for "
695 "processing in the AIO context I<ctx_id>. The I<iocbpp> argument should be "
696 "an array of I<nr> AIO control blocks, which will be submitted to context "
697 "I<ctx_id>."
698 msgstr ""
699
700 #. type: Plain text
701 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
702 msgid ""
703 "On success, B<io_submit>() returns the number of I<iocb>s submitted (which "
704 "may be less than I<nr>, or 0 if I<nr> is zero). For the failure return, see "
705 "VERSIONS."
706 msgstr ""
707
708 #. type: Plain text
709 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
710 msgid ""
711 "The AIO context specified by I<ctx_id> is invalid. I<nr> is less than 0. "
712 "The I<iocb> at I<*iocbpp[0]> is not properly initialized, the operation "
713 "specified is invalid for the file descriptor in the I<iocb>, or the value in "
714 "the I<aio_reqprio> field is invalid."
715 msgstr ""
716
717 #. http://git.fedorahosted.org/git/?p=libaio.git
718 #. type: Plain text
719 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
720 msgid ""
721 "glibc does not provide a wrapper for this system call. You could invoke it "
722 "using B<syscall>(2). But instead, you probably want to use the "
723 "B<io_submit>() wrapper function provided by I<libaio>."
724 msgstr ""
725
726 #. But glibc is confused, since <libaio.h> uses 'io_context_t' to declare
727 #. the system call.
728 #. type: Plain text
729 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
730 msgid ""
731 "Note that the I<libaio> wrapper function uses a different type "
732 "(I<io_context_t>) for the I<ctx_id> argument. Note also that the I<libaio> "
733 "wrapper does not follow the usual C library conventions for indicating "
734 "errors: on error it returns a negated error number (the negative of one of "
735 "the values listed in ERRORS). If the system call is invoked via "
736 "B<syscall>(2), then the return value follows the usual conventions for "
737 "indicating an error: -1, with I<errno> set to a (positive) value that "
738 "indicates the error."
739 msgstr ""
740
741 #. type: Plain text
742 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
743 msgid ""
744 "B<io_cancel>(2), B<io_destroy>(2), B<io_getevents>(2), B<io_setup>(2), "
745 "B<aio>(7)"
746 msgstr ""
747
748 #. type: TH
749 #: fedora-44 fedora-rawhide
750 #, no-wrap
751 msgid "2025-01-04"
752 msgstr ""
753
754 #. type: TH
755 #: fedora-44 fedora-rawhide
756 #, no-wrap
757 msgid "Linux man-pages 6.13"
758 msgstr ""
759
760 #. type: Plain text
761 #: fedora-44 fedora-rawhide mageia-cauldron
762 msgid ""
763 "Alternatively, Asynchronous I/O library (I<libaio>,\\ I<-laio>); see "
764 "VERSIONS."
765 msgstr ""
766
767 #. type: TH
768 #: mageia-cauldron
769 #, no-wrap
770 msgid "2025-09-21"
771 msgstr ""
772
773 #. type: TH
774 #: mageia-cauldron
775 #, no-wrap
776 msgid "Linux man-pages 6.17"
777 msgstr ""
778
779 #. type: TH
780 #: opensuse-leap-16-1 opensuse-tumbleweed
781 #, no-wrap
782 msgid "Linux man-pages (unreleased)"
783 msgstr ""