Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpsr(2) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setpsr(2)

getpsr(2)

NAME

getpsr − get processor status register

SYNOPSIS

#include <sys/m88kbcs.h>
 
unsigned int getpsr()

DESCRIPTION

The getpsr() system call returns the current contents of the Processor Status Register of the calling process.  This register controls certain aspects of the execution of the process.  See the setpsr(2) function for additional information. 

RETURN VALUE

The current value of the Processor Status Register is returned. 

SEE ALSO

setpsr(2)

CX/UX Programmer’s Reference Manual

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