osf1 man page for syscall

Query: syscall

OS: osf1

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

syscall(2)							System Calls Manual							syscall(2)

NAME
syscall - indirect system call
SYNOPSIS
#include <sys/syscall.h> #include <unistd.h> syscall (number, arg, ...)
DESCRIPTION
The syscall system call performs the system call whose assembly language interface has the specified number, register arguments r0 and r1, and further arguments arg. The r0 value of the system call is returned.
NOTES
This interface is not recommended. An alternative interface is documented in chown(2).
RESTRICTIONS
There is no way to simulate system calls such as pipe, which return values in register r1.
DIAGNOSTICS
When the C-bit is set, syscall returns -1 and sets the external variable errno.
SEE ALSO
Functions: errno(2), pipe(2) syscall(2)
Related Man Pages
syscall(2) - debian
syscall(3ucb) - opensolaris
syscall(3ucb) - mojave
syscall(3ucb) - hpux
syscall(3ucb) - v7
Similar Topics in the Unix Linux Community
how to distinguish entry/exit of a syscall when using ptrace?
__kernel_vsyscall ()
is read() syscall really a primitive?
[deleted by user]Does any syscall increase process priority ?
Adding our system call Fedora 18 -new syscall