Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

brk(2)

malloc(3c)



END(3C)                 COMMAND REFERENCE                 END(3C)



NAME
     end, etext, edata - last locations in program

SYNOPSIS
     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(3c), standard
     input/output (stdio(3s)), the profile (-p) option of cc(1),
     and so forth.  The current value of the program break is
     reliably returned by sbrk(0); see brk(2).

SEE ALSO
     brk(2) and malloc(3c).

































Printed 3/13/89                                                 1



%%index%%
na:240,97;
sy:337,485;
de:822,987;
se:1809,161;
%%index%%000000000081

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