syscall(3BSD) (BSD System Compatibility) syscall(3BSD)
NAME
syscall - (BSD) indirect system call
SYNOPSIS
/usr/ucb/cc [flag . . . ] file . . .
#include <sys/syscall.h>
int syscall(int number, int 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 VALUES
When the C-bit is set, syscall returns -1 and sets the
external variable errno [see intro(2)].
REFERENCES
intro(2), pipe(2)
Copyright 1994 Novell, Inc. Page 1