syscalls.h 660 B

12345678910111213141516171819202122
  1. /* This file is licensed under LGPL.
  2. * Copyright (C) 2002-2003, George Thanos <george.thanos@gdt.gr>
  3. * Yannis Mitsos <yannis.mitsos@gdt.gr>
  4. */
  5. #ifndef _BITS_SYSCALLS_H
  6. #define _BITS_SYSCALLS_H
  7. #ifndef _SYSCALL_H
  8. # error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
  9. #endif
  10. #include <features.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. /* Include the library _syscallx macros */
  16. #include <bits/unistd.h>
  17. #endif /* _BITS_SYSCALLS_H */