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
update case mappings to unicode 12.1.0
[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
}