summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/tile/__syscall_error.c
blob: 31cab3799c3bc4e4d5c89d4da0efdf770fa62bdd (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>

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