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