home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gdb-4.16-base.tgz / gdb-4.16-base.tar / fsf / gdb / sim / z8k / syscall.h < prev    next >
Text File  |  1995-08-01  |  1KB  |  44 lines

  1. /* system call numbers
  2.    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of Z8KSIM
  5.  
  6. Z8KSIM is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. Z8KSIM is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with Z8KZIM; if not, write to the Free Software
  18. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
  19.  
  20.  
  21. #define    SYS_exit    1
  22. #define    SYS_fork    2
  23. #define    SYS_read    3
  24. #define    SYS_write    4
  25. #define    SYS_open    5
  26. #define    SYS_close    6
  27. #define    SYS_wait4    7
  28. #define    SYS_creat    8
  29. #define    SYS_link    9
  30. #define    SYS_unlink    10
  31. #define    SYS_execv    11
  32. #define    SYS_chdir    12
  33. #define    SYS_mknod    14
  34. #define    SYS_chmod    15
  35. #define    SYS_chown    16
  36. #define    SYS_lseek    19
  37. #define    SYS_getpid    20
  38. #define SYS_isatty      21
  39. #define SYS_fstat       22
  40. #define SYS_time     23
  41.  
  42.  
  43. #define SYS_ARG        24
  44.