io_uring_prep_uring_cmd(3)

io_uring_prep_uring_cmd3

Prepare a uring_cmd request

Usage

#include <liburing.h>

void io_uring_prep_uring_cmd(struct io_uring_sqe *sqe, int cmd_op, int fd);

Overview

The io_uring_prep_uring_cmd(3) function prepares uring_cmd (fd specific) request. The submission queue entry sqe is setup to use the filedescriptor fd to send file descriptor specific cmd_op.

The reserved fields are initialized to 0. Otherwise the caller has to set up any submission queue entry's operation specific fields.

Return value

None

Errors

None

From liburing 2.15-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.