1 /*
2  * __socketcall() for uClibc
3  *
4  * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
5  *
6  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
7  */
8 
9 #include <sys/syscall.h>
10 
11 /* At the time of this writing,
12  * several arches provide the individual calls and do _not_ go through
13  * this demuxer.
14  *
15  * Verify all arches supported by your kernel before you remove the
16  * guard below!
17  */
18 #ifdef __NR_socketcall
19 #include <sys/socket.h>
20 
21 #define __NR___socketcall __NR_socketcall
22 _syscall2(int, __socketcall, int, call, unsigned long *, args)
23 
24 #endif
25