blob: 4f1e86dbf16f9d0e124137eb3623baa5057af281 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#include <sys/socket.h>
2#include "syscall.h"
Rich Felker0b44a032011-02-12 00:22:29 -05003
4int socket(int domain, int type, int protocol)
5{
Rich Felker03a2f3e2011-02-15 04:40:40 -05006 return socketcall(socket, domain, type, protocol, 0, 0, 0);
Rich Felker0b44a032011-02-12 00:22:29 -05007}