mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 10:46:02 +08:00
net/ and include/nuttx/net: Add getpeername() support
This commit is contained in:
@@ -298,6 +298,8 @@ int getsockopt(int sockfd, int level, int option,
|
||||
|
||||
int getsockname(int sockfd, FAR struct sockaddr *addr,
|
||||
FAR socklen_t *addrlen);
|
||||
int getpeername(int sockfd, FAR struct sockaddr *addr,
|
||||
FAR socklen_t *addrlen);
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
|
||||
Reference in New Issue
Block a user