projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
network
/
getpeername.c
1
#include <sys/socket.h>
2
#include "syscall.h"
3
4
int getpeername(int fd, struct sockaddr *addr, socklen_t *len)
5
{
6
return socketcall(getpeername, fd, addr, len, 0, 0, 0);
7
}