summaryrefslogtreecommitdiff
path: root/static/v10/man2/indir.2
diff options
context:
space:
mode:
Diffstat (limited to 'static/v10/man2/indir.2')
-rw-r--r--static/v10/man2/indir.232
1 files changed, 32 insertions, 0 deletions
diff --git a/static/v10/man2/indir.2 b/static/v10/man2/indir.2
new file mode 100644
index 00000000..74146e35
--- /dev/null
+++ b/static/v10/man2/indir.2
@@ -0,0 +1,32 @@
+.th INDIR II 8/5/73
+.sh NAME
+indir \*- indirect system call
+.sh SYNOPSIS
+(indir = 0.; not in assembler)
+.br
+.ft B
+sys indir; syscall
+.ft R
+.sh DESCRIPTION
+The system call at the location
+.it syscall
+is executed.
+Execution resumes after the
+.it indir
+call.
+.s3
+The main purpose of
+.it 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.
+.s3
+If
+.it indir
+is executed indirectly,
+it is a no-op.
+.sh "SEE ALSO"
+\*-
+.sh DIAGNOSTICS
+\*-