repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add PTHREAD_NULL
[musl.git]
/
src
/
network
/
getsockname.c
blob
7885fc13ba4c8a044df2c9eac1561fa1484fb594
1
#include <sys/socket.h>
2
#include
"syscall.h"
3
4
int
getsockname
(
int
fd
,
struct
sockaddr
*
restrict addr
,
socklen_t
*
restrict len
)
5
{
6
return
socketcall
(
getsockname
,
fd
,
addr
,
len
,
0
,
0
,
0
);
7
}