Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ end(S) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

brk(S)

malloc(S)



     END(S)                   XENIX System V                    END(S)



     Name
          end, etext, edata - Last locations in program.

     Syntax
          extern char *end;
          extern char *etext;
          extern char *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 is the first address
          above the initialized data region. end is the first address
          above the uninitialized data region.

     See Also
          brk(S), malloc(S).

     Warning
          No assumptions should be made with respect to the ordering
          of the program text, initialized data, and uninitialized
          data regions.  For example, the assumption can't be made
          that the addresses following the address of etext will
          reference the uninitialized data region.

          No assumptions can be made concerning the contiguity of
          information within a region.  A region may be split among
          different parts of memory.  Therefore, no assurance can be
          made that addresses within a region are consecutive.


























     Page 1                                           (printed 8/7/87)



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