xref: /original-bsd/share/man/man3/end.3 (revision a0411884)
1.\" Copyright (c) 1986
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)end.3	6.4 (Berkeley) 01/24/94
7.\"
8.Dd
9.Dt END 3
10.Os
11.Sh NAME
12.Nm end ,
13.Nm etext ,
14.Nm edata
15.Nd end boundaries of image segments
16.Sh SYNOPSIS
17.Vt extern end;
18.Vt extern etext;
19.Vt extern edata;
20.Sh DESCRIPTION
21The global variables
22.Va end , extext
23and
24.Va edata
25correspond to the
26the next address following the end
27of the text segment,
28the initialized data segment and the
29end of the data segment
30.Pq Tn BSS .
31These values are initially set at execution time
32by
33.Xr brk 2 .
34.Sh SEE ALSO
35.Xr brk 2 ,
36.Xr malloc 3
37.Sh HISTORY
38A
39.Nm end
40manual appeared in
41.At v6 .
42