mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
libs/libc/net: implement socketpair
N/A Reference here: https://www.freebsd.org/cgi/man.cgi?apropos=0&sektion=2&query=socketpair&manpath=FreeBSD+7.0-current&format=html Change-Id: I959b4d661cd436f5d5050baf9e821db84139d482 Signed-off-by: danguanghua <danguanghua@xiaomi.com>
This commit is contained in:
@@ -381,6 +381,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
int socket(int domain, int type, int protocol);
|
||||
int socketpair(int domain, int type, int protocol, int sv[2]);
|
||||
int bind(int sockfd, FAR const struct sockaddr *addr, socklen_t addrlen);
|
||||
int connect(int sockfd, FAR const struct sockaddr *addr, socklen_t addrlen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user