You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/01 10:56:22 UTC

[GitHub] [incubator-nuttx] PetervdPerk-NXP commented on a diff in pull request #6751: Net thread-safe ether_ntoa_r & inet_ntoa_r

PetervdPerk-NXP commented on code in PR #6751:
URL: https://github.com/apache/incubator-nuttx/pull/6751#discussion_r934399519


##########
include/arpa/inet.h:
##########
@@ -50,6 +50,7 @@ in_addr_t   inet_addr(FAR const char *cp);
 in_addr_t   inet_network(FAR const char *cp);
 
 FAR char   *inet_ntoa(struct in_addr in);
+FAR char   *inet_ntoa_r(struct in_addr in, FAR char *buf);

Review Comment:
   Since `inet_ntoa_r` isn't really specified in POSIX I tried to make it close as the GNU `ether_ntoa_r` variant.



-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org