Gary-Hobson commented on code in PR #7900: URL: https://github.com/apache/nuttx/pull/7900#discussion_r1056116166
########## include/nuttx/note/note_driver.h: ########## @@ -130,4 +130,25 @@ int note_initialize(void); #endif /* defined(__KERNEL__) || defined(CONFIG_BUILD_FLAT) */ +#if CONFIG_TASK_NAME_SIZE > 0 + +/**************************************************************************** + * Name: note_get_taskname + * + * Description: + * Get the task name string of the specified PID + * + * Input Parameters: + * PID - Task ID + * name - Task name buffer + * + * Returned Value: + * None + * + ****************************************************************************/ + +void note_get_taskname(pid_t pid, FAR char *name); Review Comment: It will always return data, the caller does not need to check the return value -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org