io_uring_opcode_supported - Man Page

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)

Info

January 25, 2022 liburing-2.1 liburing Manual