projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
afaeb411bab866ff4a9ceea00001c210d0e42c0a
[oweals/musl.git]
/
src
/
network
/
socket.c
1
#include <sys/socket.h>
2
#include "syscall.h"
3
#include "socketcall.h"
4
5
int socket(int domain, int type, int protocol)
6
{
7
unsigned long args[] = { domain, type, protocol };
8
return syscall2(__NR_socketcall, SYS_SOCKET, (long)args);
9
}