Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ end(3) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

brk(2)

malloc(3)



END(3)                   DOMAIN/IX SYS5                    END(3)



NAME
     end, etext, edata - last location in program

USAGE
     extern end;
     extern etext;
     extern edata;


DESCRIPTION
     These names refer neither to routines nor to locations with
     interesting contents.  The address of etext is the first
     address above the program text, edata above the initialized
     data region, and end above the uninitialized data region.

     When execution begins, the program break coincides with end,
     but it is reset by the routines brk(2), malloc(3), standard
     input/output stdio(3), and so on.  The current value of the
     program break is reliably returned by calling sbrk(0).

RELATED INFORMATION
     brk(2)
     malloc(3)






























Printed 12/4/86                                             END-1





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