Skip to main content

io_uring_unregister_napi

Function io_uring_unregister_napi 

Source
pub unsafe extern "C" fn io_uring_unregister_napi(
    ring: *mut io_uring,
    napi: *mut io_uring_napi,
) -> c_int
Expand description

Unregister NAPI busy poll settings

§DESCRIPTION

The io_uring_unregister_napi function unregisters the NAPI busy poll settings for subsequent operations.

§RETURN VALUE

On success io_uring_unregister_napi return 0. On failure they return -errno. It also updates the napi structure with the current values.