END(3) — Kubota Pacfic Computer Inc. (C Library Functions−BSD)
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(3), standard I/O (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).
SEE ALSO
September 02, 1992