home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man2 / indir.2 < prev    next >
Encoding:
Text File  |  1975-06-26  |  645 b   |  36 lines

  1. .th INDIR II 8/5/73
  2. .sh NAME
  3. indir \*- indirect system call
  4. .sh SYNOPSIS
  5. (indir = 0.; not in assembler)
  6. .br
  7. .ft B
  8. sys indir; syscall
  9. .ft R
  10. .sh DESCRIPTION
  11. The system call at the location
  12. .it syscall
  13. is executed.
  14. Execution resumes after the
  15. .it indir
  16. call.
  17. .s3
  18. The main purpose of
  19. .it indir
  20. is to allow a program to
  21. store arguments in system calls and execute them
  22. out of line in the data segment.
  23. This preserves the purity of the text segment.
  24. .s3
  25. If
  26. .it indir
  27. is executed indirectly,
  28. it is a no-op.
  29. If the instruction at the indirect
  30. location is not a system call,
  31. the executing process will get a fault.
  32. .sh "SEE ALSO"
  33. \*-
  34. .sh DIAGNOSTICS
  35. \*-
  36.