pub unsafe extern "C" fn k_thread_name_copy(
thread: k_tid_t,
buf: *mut c_char,
size: usize,
) -> c_int
Expand description
@brief Copy the thread name into a supplied buffer
@param thread Thread to obtain name information @param buf Destination buffer @param size Destination buffer size @retval -ENOSPC Destination buffer too small @retval -EFAULT Memory access error @retval -ENOSYS Thread name feature not enabled @retval 0 Success