xref: /aosp_15_r20/external/liburing/man/io_uring_opcode_supported.3 (revision 25da2bea747f3a93b4c30fd9708b0618ef55a0e6)
Copyright (C) 2022 Stefan Roesch <[email protected]>

SPDX-License-Identifier: LGPL-2.0-or-later

io_uring_opcode_supported "January 25, 2022" "liburing-2.1" "liburing Manual"
NAME
io_uring_opcode_supported - is op code supported?
SYNOPSIS
 #include <liburing.h> 

"int io_uring_opcode_supported(struct io_uring_probe *" probe "," " int " opcode ");"

DESCRIPTION

The function io_uring_opcode_supported (3) allows the caller to determine if the passed in opcode belonging to the probe param is supported. An instance of the io_uring_probe instance can be obtained by calling the function io_uring_get_probe (3).

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