pub unsafe extern "C" fn k_thread_state_str(
thread_id: k_tid_t,
buf: *mut c_char,
buf_size: usize,
) -> *const c_char
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 “”.