summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arc/syscall.c
blob: 5648b0e1fd35912bf93a960a106c11d8a2ef5e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
 *
 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
 */

#include <features.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/syscall.h>

extern long syscall(long int sysnum, long a, long b, long c, long d, long e, long f);

long syscall(long int sysnum, long a, long b, long c, long d, long e, long f)
{
	return INLINE_SYSCALL_NCS(sysnum, 6, a, b, c, d, e, f);
}