mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 04:23:38 +01:00
26 lines
575 B
C
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__*/
|