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  many
20       functions  reset  the program break, among them the routines of brk(2),
21       malloc(3), standard input/output (stdio(3)), the profile (-p) option of
22       cc(1),  etc.   The  current  value  of  the  program  break is reliably
23       returned by `sbrk(0)', see brk(2).
24

SEE ALSO

26       brk(2), malloc(3)
27
28
29
30                                                                        END(3)
Impressum