Use getpeername() from FreeBSD

This commit is contained in:
Sebastian Huber
2013-10-14 13:09:15 +02:00
parent ac78dd2440
commit 0beab1e86a
5 changed files with 83 additions and 93 deletions

View File

@@ -61,6 +61,8 @@ int bind(int, const struct sockaddr *, socklen_t);
int connect(int, const struct sockaddr *, socklen_t);
int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
int listen(int, int);