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