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
brk(2) - ultrix
shmat(2) - ultrix
shmdt(2) - hpux
shmat(2) - freebsd
audit_event(5) - osx
Similar Topics in the Unix Linux Community
${bindir} vs $bindir
Indirect Spamming
Does SH support indirect expansion like BASH?
Create, validate and using dynamic variables in Bash scripting
Pattern match and replace indirect directory reference using sed