v7 man page for indir

Query: indir

OS: v7

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

INDIR(2)							System Calls Manual							  INDIR(2)

NAME
indir - indirect system call
ASSEMBLER
(indir = 0.) sys indir; call The system call at the location call is executed. Execution resumes after the indir call. The main purpose of indir 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 indir is executed indirectly, it is a no-op. If the instruction at the indirect location is not a system call, indir returns error code EINVAL; see intro(2). INDIR(2)
Related Man Pages
audit_event(5) - mojave
shmdt(2) - debian
shmat(2) - hpux
shmop(2) - hpux
audit_event(5) - freebsd
Similar Topics in the Unix Linux Community
Compound indirect variable references
Does SH support indirect expansion like BASH?
Indirect Referral Script
Indirect variables in Bash
Treat value of variable as env variable