1END(3)                     Library Functions Manual                     END(3)
2
3
4

NAME

6       end, etext, edata - last locations in program
7

SYNOPSIS

9       extern end;
10       extern etext;
11       extern edata;
12

DESCRIPTION

14       These names refer neither to routines nor to locations with interesting
15       contents.  The address of etext is the first address above the  program
16       text, edata above the initialized data region, and end above the uniniā€
17       tialized data region.
18
19       When execution begins, the program break coincides with end, but it  is
20       reset   by   the  routines  brk(2),  malloc(3),  standard  input/output
21       (stdio(3S)), the profile (-p) option of cc(1), etc.  The current  value
22       of the program break is reliably returned by `sbrk(0)', see brk(2).
23

SEE ALSO

25       brk(2), malloc(3)
26
27
28
297th Edition                      May 12, 1986                           END(3)
Impressum