fxlibc/include/sys/syscall.h

27 lines
575 B
C
Raw Permalink Normal View History

2021-05-09 23:00:11 +02:00
#ifndef __SYS_SYSCALL_H__
# define __SYS_SYSCALL_H__
2020-09-17 19:27:01 +02:00
2021-06-28 15:49:05 +02:00
#ifdef __cplusplus
extern "C" {
#endif
/*
** This file should list the numbers of the system calls the system knows.
** But instead of duplicating this we use the information available
** from the kernel sources.
*/
2021-05-09 17:34:00 +02:00
#include <bits/unistd.h>
2020-09-17 19:27:01 +02:00
/*
** The Linux kernel header file defines macros __NR_*, but some
** programs expect the traditional form SYS_*. <bits/syscall.h>
** defines SYS_* macros for __NR_* macros of known names.
*/
2021-05-09 17:34:00 +02:00
#include <bits/syscall.h>
2020-09-17 19:27:01 +02:00
2021-06-28 15:49:05 +02:00
#ifdef __cplusplus
}
#endif
2021-05-09 23:00:11 +02:00
#endif /*__SYS_SYSCALL_H__*/