summaryrefslogtreecommitdiff
path: root/static/unix-v10/man2/syscall.2
diff options
context:
space:
mode:
Diffstat (limited to 'static/unix-v10/man2/syscall.2')
-rw-r--r--static/unix-v10/man2/syscall.217
1 files changed, 17 insertions, 0 deletions
diff --git a/static/unix-v10/man2/syscall.2 b/static/unix-v10/man2/syscall.2
new file mode 100644
index 00000000..c0c895ff
--- /dev/null
+++ b/static/unix-v10/man2/syscall.2
@@ -0,0 +1,17 @@
+.TH SYSCALL 2
+.CT 2 misc
+.SH NAME
+syscall \(mi indirect system call
+.SH SYNOPSIS
+.B "int syscall(number, arg, ... )"
+.SH DESCRIPTION
+.I Syscall
+performs the system call with the specified
+.I number
+and arguments and returns its result.
+The numbers may be found in the system source.
+.SH BUGS
+The simulation fails for system calls
+such as
+.IR pipe (2),
+which return multiple values.