pub unsafe extern "C" fn k_thread_state_str(
thread_id: *mut k_thread,
buf: *mut i8,
buf_size: usize,
) -> *const i8
Expand description
@brief Get thread state string
This routine generates a human friendly string containing the thread’s state, and copies as much of it as possible into @a buf.
@param thread_id Thread ID @param buf Buffer into which to copy state strings @param buf_size Size of the buffer
@retval Pointer to @a buf if data was copied, else a pointer to “”.