zephyr::raw

Function k_pipe_write_avail

source
pub unsafe extern "C" fn k_pipe_write_avail(
    pipe: *mut k_pipe,
) -> usize
Expand description

@brief Query the number of bytes that may be written to @a pipe

@param pipe Address of the pipe.

@retval a number n such that 0 <= n <= @ref k_pipe.size; the result is zero for unbuffered pipes.