io_uring_opcode_supported(3) liburing Manual io_uring_opcode_supported(3)

io_uring_opcode_supported - is op code supported?

#include <liburing.h>
int io_uring_opcode_supported(struct io_uring_probe *probe,
                              int opcode);

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).

On success it returns 1, otherwise it returns 0.


January 25, 2022 liburing-2.1