syscall(2)syscall(2)Namesyscall - indirect system call
Syntax
syscall(number, arg, ...)
Description
The system call performs the system call whose assembly language inter‐
face has the specified number, register arguments r0 and r1, and fur‐
ther arguments arg.
The r0 value of the system call is returned.
Restrictions
There is no way to simulate system calls such as which return values in
register r1.
Diagnostics
When the C-bit is set, returns -1 and sets the external variable errno.
See Alsoerrno(2), pipe(2)
VAX syscall(2)