1INDIR(2)                      System Calls Manual                     INDIR(2)
2
3
4

NAME

6       indir - indirect system call
7

ASSEMBLER

9       (indir = 0.)
10       sys indir; call
11
12       The  system  call  at the location call is executed.  Execution resumes
13       after the indir call.
14
15       The main purpose of indir is to allow a program to store  arguments  in
16       system  calls  and  execute them out of line in the data segment.  This
17       preserves the purity of the text segment.
18
19       If indir is executed indirectly, it is a no-op.  If the instruction  at
20       the  indirect  location  is not a system call, indir returns error code
21       EINVAL; see intro(2).
22
23
24
25                                                                      INDIR(2)
Impressum