Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ syscall(2) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought




syscall(2) syscall(2)
NAME syscall - indirect system call SYNOPSIS #include <syscall.h> 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. Symbolic constants for system calls can be found in the header file <syscall.h>. The r0 value of the system call is returned. STATUS MESSAGES AND VALUES When the C-bit is set, syscall returns -1 and sets the external variable errno (see intro(2)). LIMITATIONS There is no way to simulate system calls such as pipe(2), which return values in register r1. January 1992 1

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