summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/tile/__syscall_error.c
blob: a91fdff3aaa87be8f609cd7777aefeed204a1808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
 * in this tarball.
 */

#include <errno.h>
#include <features.h>

int __syscall_error(int err_no)
{
	__set_errno(-err_no);
	return -1;
}