Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)



SYSCALL(2)              COMMAND REFERENCE              SYSCALL(2)



NAME
     syscall - indirect system call

SYNOPSIS
     syscall(number, arg, ...)

DESCRIPTION
     Syscall performs the system call whose assembly language
     interface has the specified number, and arguments arg.

RETURN VALUE
     The return value of the normal system call is returned.  As
     with any system call, when the kernel finds an error,
     syscall returns -1 and sets the external variable errno (see
     intro(2)).

CAVEATS
     There is no way to simulate system calls such as pipe(2),
     which return values in more than one register.

     Unless signals are being blocked or ignored, an invalid
     number causes syscall to send signal SIGSYS (see sigvec(2)).

SEE ALSO
     intro(2).






























Printed 4/6/89                                                  1



%%index%%
na:312,82;
sy:394,351;
de:745,333;
rv:1078,420;
ca:1498,424;
se:1922,133;
%%index%%000000000107

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026