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
synccall: add separate exit_sem to fix thread release logic bug
[musl.git]
/
src
/
network
/
getpeername.c
blob
6567b45191571dbd3ef970c4c2861f3312e551f3
1
#include <sys/socket.h>
2
#include
"syscall.h"
3
4
int
getpeername
(
int
fd
,
struct
sockaddr
*
restrict addr
,
socklen_t
*
restrict len
)
5
{
6
return
socketcall
(
getpeername
,
fd
,
addr
,
len
,
0
,
0
,
0
);
7
}