Unix |
Unix v6 |
|
![]() |
indir(2) |
![]() |
indir indirect system call (indir = 0.; not in
assembler)
sys indir; syscall The system call at the location is
executed. Execution resumes after the call. The main purpose
of is to allow a program to store arguments in system calls
and execute them out of line in the data segment. This
preserves the purity of the text segment. If is executed
indirectly, it is a no-op. If the instruction at the
indirect location is not a system call, the executing
process will get a fault.
![]() |
indir(2) | ![]() |