Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #include <sys/socket.h> |
2 | #include "syscall.h" | ||||
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 3 | |
4 | int socket(int domain, int type, int protocol) | ||||
5 | { | ||||
Rich Felker | 03a2f3e | 2011-02-15 04:40:40 -0500 | [diff] [blame] | 6 | return socketcall(socket, domain, type, protocol, 0, 0, 0); |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 7 | } |