syscalls.h 634 B

1234567891011121314151617181920
  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. #warning "fixme -- add arch specific syscall macros.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/sysnum.h>
  15. #endif /* _BITS_SYSCALLS_H */