fxlibc/include/sys/syscall.h
2021-06-28 15:49:05 +02:00

26 lines
575 B
C

#ifndef __SYS_SYSCALL_H__
# define __SYS_SYSCALL_H__
#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.
*/
#include <bits/unistd.h>
/*
** 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.
*/
#include <bits/syscall.h>
#ifdef __cplusplus
}
#endif
#endif /*__SYS_SYSCALL_H__*/