Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

brk(2)

malloc(3)

END(3)

NAME

end − last location in program

USAGE

    char *end
    .
    . main () {   end= sbrk(0);
    .
    . }

DESCRIPTION

On the DOMAIN/IX system, end is not a predefined value. To use end in a program, include the lines above. The program break will then coincide with end.  Subsequent brk(2), malloc(3), and stdio(3) routines may change the break, but end will remain in the same location. The current value of the program break is reliably returned by “sbrk(0)”. 

RELATED INFORMATION

brk(2) malloc(3)

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