pkarashchenko commented on code in PR #8911:
URL: https://github.com/apache/nuttx/pull/8911#discussion_r1150454461


##########
libs/libc/stdio/lib_vasprintf.c:
##########
@@ -119,14 +119,18 @@ int vasprintf(FAR char **ptr, FAR const IPTR char *fmt, 
va_list ap)
 #endif
 
   /* Return a pointer to the string to the caller.  NOTE: the memstream put()
-   * method has already added the NUL terminator to the end of the string
+   * method has already added the NULL terminator to the end of the string

Review Comment:
   Here is some discussion https://news.ycombinator.com/item?id=1401327
   However I just searched on the Internet and saw that most of the articles 
state "null-terminated", so maybe I was learning C from very old books some 
time ago that still used NUL term for string termination. Seems like your 
change was also correct.



-- 
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

Reply via email to