Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ badaddr(3spp) — UMIPS/BSD System Programmer's Package 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nofault(3spp)

BADADDR(3spp)

NAME

badaddr − test if a memory location can be read

SYNOPSIS

badaddr(addr, size)

DESCRIPTION

Badaddr returns 1 if reading the memory location addr causes a fault.  If addr can be read without causing a fault, 0 is returned.  Size should be one of "sizeof(char)", "sizeof(short)", or "sizeof(int)" and indicates the appropriate width for the read. 

SEE ALSO

nofault(3spp)

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