summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/__socketcall.c
blob: 5a959a63cf9f945895ec76a1cf61f04f2926d8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* vi: set sw=4 ts=4: */
/*
 * __socketcall() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#ifdef __NR_socketcall
#define __NR___socketcall __NR_socketcall
int __socketcall(int __call, unsigned long *__args) attribute_hidden;
_syscall2(int, __socketcall, int, call, unsigned long *, args);
#endif