Sign in
cobalt
/
cobalt
/
5864f47b864e8bb7b417f15981009ad93bdff2ac
/
.
/
third_party
/
musl
/
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
);
}