|
|
1.1 root 1: .\" @(#)end.3 6.2 (Berkeley) 5/12/86
2: .\"
3: .TH END 3 "May 12, 1986"
4: .AT 3
5: .SH NAME
6: end, etext, edata \- last locations in program
7: .SH SYNOPSIS
8: .nf
9: .B extern end;
10: .B extern etext;
11: .B extern edata;
12: .fi
13: .SH DESCRIPTION
14: These names refer neither to routines nor to locations with interesting
15: contents. The address of
16: .I etext
17: is the first address above the program text,
18: .I edata
19: above the initialized data region, and
20: .I end
21: above the uninitialized data region.
22: .PP
23: When execution begins, the program break coincides with
24: .I end,
25: but it is reset by the routines
26: .IR brk (2),
27: .IR malloc (3),
28: standard input/output
29: .RI ( stdio (3S)),
30: the profile
31: .RB ( \-p )
32: option of
33: .IR cc (1),
34: etc.
35: The current value of the program break is reliably returned by `sbrk(0)',
36: see
37: .IR brk (2).
38: .SH "SEE ALSO"
39: brk(2), malloc(3)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.