Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ indir(2) — UNIX 7th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INDIR(2)  —  UNIX Programmer’s Manual

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).

7th Edition

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026