Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

BSD 2.11 - man page for etext (bsd section 3)

END(3)							     Library Functions Manual							    END(3)

end, etext, edata - last locations in program
extern end; extern etext; extern edata;
These names refer neither to routines nor to locations with interesting contents. The address of etext is the first address above the pro- gram 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(3S)), the profile (-p) option of cc(1), etc. The current value of the program break is reliably returned by `sbrk(0)', see brk(2).
brk(2), malloc(3) 7th Edition May 12, 1986 END(3)