syscall(3) (BSD Compatibility Package) syscall(3)
NAME
syscall - indirect system call
SYNOPSIS
/usr/ucb/cc [flag ...] file ... -lucb
include <sys/syscall.h>
int syscall(number, arg, ...)
DESCRIPTION
syscall performs the system call whose assembly language interface has
the specified number, and arguments arg ... Symbolic constants for
system calls can be found in the header file
/usr/include/sys/syscall.h.
RETURN VALUE
When the C-bit is set, syscall returns -1 and sets the external vari-
able errno [see introprm2(2)].
SEE ALSO
introprm2(2), pipe(2).
Page 1 Reliant UNIX 5.44 Printed 11/98