File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man3 / end.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH END 3  "19 January 1983"
.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 (3)),
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)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.