syscall(2) — RISC
Name
syscall − indirect system call
Syntax
syscall(number, args, ...)
Description
The syscall system call performs the system call whose assembly language interface has the specified number, and further arguments args. There may be no arguments.
The return value of the system call is returned.
Diagnostics
If an error occurs, syscall returns −1 and sets the external variable errno.