Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ syscall(2) — 4.2BSD 3.04v10.B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SYSCALL(2)  —  Unix Programmer’s Manual

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.

The d0 value of the system call is returned. 

DIAGNOSTICS

When the C-bit is set, syscall returns −1 and sets the external variable errno (see intro(2)).

BUGS

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

4th Berkeley Distribution  —  1 August 1985

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