SCCS-vsn: lib/libc/sys/syscall.2 6.2
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)syscall.2 6.1 (Berkeley) %G%
+.\" @(#)syscall.2 6.2 (Berkeley) %G%
.\"
.TH SYSCALL 2 ""
.UC 4
.\"
.TH SYSCALL 2 ""
.UC 4
syscall \- indirect system call
.SH SYNOPSIS
.nf
syscall \- indirect system call
.SH SYNOPSIS
.nf
+.ft B
+#include <syscall.h>
+.PP
.BR "syscall(number, arg, ...)" \ \ (VAX-11)
.fi
.SH DESCRIPTION
.BR "syscall(number, arg, ...)" \ \ (VAX-11)
.fi
.SH DESCRIPTION
.I r1
and further arguments
.IR arg .
.I r1
and further arguments
.IR arg .
+Symbolic constants for system calls can be found in the header file
+.I <syscall.h>.
.PP
The r0 value of the system call is returned.
.SH DIAGNOSTICS
.PP
The r0 value of the system call is returned.
.SH DIAGNOSTICS