Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
network
/
getpeername.c
blob: 6567b45191571dbd3ef970c4c2861f3312e551f3 [
file
] [
log
] [
blame
]
#include
<sys/socket.h>
#include
"syscall.h"
int
getpeername
(
int
fd
,
struct
sockaddr
*
restrict addr
,
socklen_t
*
restrict len
)
{
return
socketcall
(
getpeername
,
fd
,
addr
,
len
,
0
,
0
,
0
);
}