《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 rivejä
389 B

11 vuotta sitten
  1. SYS_exit = 1
  2. SYS_fork = 2
  3. SYS_write = 4
  4. SYS_open = 5
  5. SYS_close = 6
  6. SYS_execve = 11
  7. SYS_lseek = 19
  8. SYS_dup2 = 63
  9. SYS_mmap = 90
  10. SYS_munmap = 91
  11. SYS_socketcall = 102
  12. SYS_socketcall_socket = 1
  13. SYS_socketcall_bind = 2
  14. SYS_socketcall_listen = 4
  15. SYS_socketcall_accept = 5
  16. SEEK_END = 2
  17. PROT_READ = 1
  18. MAP_SHARED = 1
  19. AF_INET = 2
  20. SOCK_STREAM = 1
  21. IPPROTO_TCP = 6
  22. STDOUT = 1