Donny9 commented on a change in pull request #2904: URL: https://github.com/apache/incubator-nuttx/pull/2904#discussion_r582440816
########## File path: libs/libc/unistd/lib_getcwd.c ########## @@ -63,6 +63,12 @@ * symbolic links. The 'size' argument is the size in bytes of the * character array pointed to by the 'buf' argument. * + * As an extension to the POSIX.1-2001 standard, getcwd() allocates + * the buffer dynamically using malloc if buf is NULL. In this case, + * the allocated buffer has the length size unless size is zero, when buf Review comment: doneļ¼ ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org