pub unsafe extern "C" fn k_thread_name_copy(
thread: *mut k_thread,
buf: *mut u8,
size: usize,
) -> i32
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