DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
(BSD System Compatibility)

syscall(3bsd)


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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004