Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ syscall(2) — UTek W2.3

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, register arguments r0
     and r1 and further arguments arg.

     The r0 value of the system call is returned.

RETURN VALUE
     When the flag bit is set, 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 register r1.

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

SEE ALSO
     intro(2).




























Printed 10/17/86                                                1





































































%%index%%
na:72,66;
sy:138,227;
de:365,362;
rv:727,250;
ca:977,371;
se:1348,103;
%%index%%000000000104

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