12345678910111213141516171819 |
- /*
- * This file is subject to the terms and conditions of the LGPL V2.1
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2018 Kalray Inc.
- */
- #include <errno.h>
- #include <features.h>
- /* This routine is jumped to by all the syscall handlers, to stash
- * an error number into errno. */
- long __syscall_error(int err_no) attribute_hidden;
- long __syscall_error(int err_no)
- {
- __set_errno(-err_no);
- return -1;
- }
|