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
sbrk(2) - ultrix
shmop(2) - ultrix
shmdt(2) - hpux
shmop(2) - hpux
shmat(2) - freebsd
Similar Topics in the Unix Linux Community
Does SH support indirect expansion like BASH?
Create, validate and using dynamic variables in Bash scripting
Treat value of variable as env variable
Pattern match and replace indirect directory reference using sed
Download on a link doing it indirectly