*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> syscall (2)              



NAME    [Toc]    [Back]

       syscall - indirect system call

SYNOPSIS    [Toc]    [Back]

       #include <sys/syscall.h> #include <unistd.h>

       syscall (number, arg, ...)

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       This  interface  is not recommended. An alternative interface
 is documented in chown(2).

RESTRICTIONS    [Toc]    [Back]

       There is no way to simulate system  calls  such  as  pipe,
       which return values in register r1.

DIAGNOSTICS    [Toc]    [Back]

       When  the  C-bit  is  set, syscall returns -1 and sets the
       external variable errno.

SEE ALSO    [Toc]    [Back]

       Functions:  errno(2), pipe(2)

[ Back ]
 Similar pages
Name OS Title
sgigsc IRIX SGI graphics system call
cu IRIX call another UNIX system
sysarch OpenBSD architecture-dependent system call
IO::Select IRIX OO interface to the select system call
syssgi IRIX Silicon Graphics Inc. system call
sysarch NetBSD architecture-dependent system call
stat IRIX data returned by stat system call
dmi IRIX DMAPI internal system call
sysarch FreeBSD architecture-dependent system call
stat64 IRIX data returned by stat64 system call
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service