diff options
Diffstat (limited to 'lib/libc/socket/socketpair.c')
| -rw-r--r-- | lib/libc/socket/socketpair.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/socket/socketpair.c b/lib/libc/socket/socketpair.c new file mode 100644 index 00000000..6e78b30b --- /dev/null +++ b/lib/libc/socket/socketpair.c @@ -0,0 +1,6 @@ +#include <syscall.h> + +int socketpair(int domain, int type, int protocol, int socket_vector[2]) +{ + return syscall(socketpair, domain, type, protocol, socket_vector); +} |
