io_uring_prep_link_timeout

fnvoid io_uring_prep_link_timeout(io_uring_sqe * sqe, const KernelTimespec * ts, ulong userData) nothrow @nogc pure @safe

Prepare a linked timeout SQE.

Must be submitted immediately after a linked operation SQE (with IOSQE_IO_LINK set). When the linked operation does not complete within ts, the kernel cancels it and delivers a CQE with -ECANCELED for the operation and userData for the timeout.

Parameters

sqePointer to the SQE to fill.
tsPointer to a KernelTimespec with the timeout.
userDataUser data returned in the CQE on timeout.