syscalls.h 579 B

12345678910111213141516171819
  1. #ifndef _BITS_SYSCALLS_H
  2. #define _BITS_SYSCALLS_H
  3. #ifndef _SYSCALL_H
  4. # error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
  5. #endif
  6. #include <features.h>
  7. /* Do something very evil for now. Until we create our own syscall
  8. * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
  9. #include <asm/unistd.h>
  10. /* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
  11. * header files. It also defines the traditional `SYS_<name>' macros for older
  12. * programs. */
  13. #include <bits/sysnum.h>
  14. #endif /* _BITS_SYSCALLS_H */