wangzhi16 commented on code in PR #17455: URL: https://github.com/apache/nuttx/pull/17455#discussion_r2601960286
########## drivers/note/note_driver.c: ########## @@ -2095,38 +2093,46 @@ void sched_note_filter_tag(FAR struct note_filter_named_tag_s *oldf, * * Input Parameters: * PID - Task ID + * buf - A writable buffer to hold the task name + * len - The length of the buffer * * Returned Value: - * Return name if task name can be retrieved, otherwise NULL + * None + * ****************************************************************************/ -FAR const char *note_get_taskname(pid_t pid) +void note_get_taskname(pid_t pid, FAR char *buf, size_t len) Review Comment: The code has been modified; please check if it acceptable. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
