2020-10-14 11:45:08 +02:00
|
|
|
#ifndef __SYSCALL_H__
|
|
|
|
# define __SYSCALL_H__
|
2020-09-17 19:27:01 +02:00
|
|
|
|
2020-10-14 11:45:08 +02:00
|
|
|
/*
|
|
|
|
** 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
|
|
|
|
2020-10-14 11:45:08 +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
|
|
|
|
2020-10-14 11:45:08 +02:00
|
|
|
#endif
|