syscalls.h 604 B

1234567891011121314151617181920
  1. #ifndef _BITS_SYSCALLS_H
  2. #define _BITS_SYSCALLS_H
  3. #ifndef _SYSCALL_H
  4. # error "Never use <bits/syscall.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/syscall.h and use asm/unistd.h instead */
  9. #define _BITS_SYSCALL_H
  10. #include <asm/unistd.h>
  11. /* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
  12. * header files. It also defines the traditional `SYS_<name>' macros for older
  13. * programs. */
  14. #include <bits/syscall.h>
  15. #endif /* _BITS_SYSCALLS_H */