File: io_uring_opcode_supported.3

package info (click to toggle)
liburing 2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,212 kB
  • sloc: ansic: 58,515; sh: 816; makefile: 598; cpp: 32
file content (30 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.\" Copyright (C) 2022 Stefan Roesch <shr@fb.com>
.\"
.\" SPDX-License-Identifier: LGPL-2.0-or-later
.\"
.TH io_uring_opcode_supported 3 "January 25, 2022" "liburing-2.1" "liburing Manual"
.SH NAME
io_uring_opcode_supported \- is op code supported?
.SH SYNOPSIS
.nf
.B #include <liburing.h>
.PP
.BI "int io_uring_opcode_supported(struct io_uring_probe *" probe ","
.BI "                              int " opcode ");"
.fi
.SH DESCRIPTION
.PP
The function
.BR io_uring_opcode_supported (3)
allows the caller to determine if the passed in
.I opcode
belonging to the
.I probe
param is supported. An instance of the io_uring_probe instance can be
obtained by calling the function
.BR io_uring_get_probe (3).

.SH RETURN VALUE
On success it returns 1, otherwise it returns 0.
.SH SEE ALSO
.BR io_uring_get_probe (3)