4.3BSD/usr/man/man3/end.3

Compare this file to the similar file:
Show the results in this format:

.\"	@(#)end.3	6.2 (Berkeley) 5/12/86
.\"
.TH END 3  "May 12, 1986"
.AT 3
.SH NAME
end, etext, edata \- last locations in program
.SH SYNOPSIS
.nf
.B extern end;
.B extern etext;
.B extern edata;
.fi
.SH DESCRIPTION
These names refer neither to routines nor to locations with interesting
contents.  The address of
.I etext
is the first address above the program text,
.I edata
above the initialized data region, and
.I end
above the uninitialized data region.
.PP
When execution begins, the program break coincides with
.I end,
but it is reset by the routines
.IR brk (2),
.IR malloc (3), 
standard input/output
.RI ( stdio (3S)),
the profile
.RB ( \-p )
option of 
.IR cc (1),
etc.
The current value of the program break is reliably returned by `sbrk(0)',
see
.IR brk (2).
.SH "SEE ALSO"
brk(2), malloc(3)