1.\" 2.\" Redistribution and use in source and binary forms, with or without 3.\" modification, are permitted provided that the following conditions 4.\" are met: 5.\" 1. Redistributions of source code must retain the above copyright 6.\" notice, this list of conditions and the following disclaimer. 7.\" 2. Redistributions in binary form must reproduce the above copyright 8.\" notice, this list of conditions and the following disclaimer in the 9.\" documentation and/or other materials provided with the distribution. 10.\" 3. All advertising materials mentioning features or use of this software 11.\" must display the following acknowledgement: 12.\" This product includes software developed by the University of 13.\" California, Berkeley and its contributors. 14.\" 4. Neither the name of the University nor the names of its contributors 15.\" may be used to endorse or promote products derived from this software 16.\" without specific prior written permission. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" from: @(#)end.3 6.3 (Berkeley) 4/19/91 31.\" $Id: end.3,v 1.2 1993/08/01 07:37:13 mycroft Exp $ 32.\" 33.Dd April 19, 1991 34.Dt END 3 35.Os 36.Sh NAME 37.Nm end , 38.Nm etext , 39.Nm edata 40.Nd end boundaries of image segments 41.Sh SYNOPSIS 42.Vt extern end; 43.Vt extern etext; 44.Vt extern edata; 45.Sh DESCRIPTION 46The global variables 47.Va end , extext 48and 49.Va edata 50correspond to the 51the next address following the end 52of the text segment, 53the initialized data segment and the 54end of the data segment 55.Pq Tn BSS . 56These values are initially set at execution time 57by 58.Xr brk 2 . 59.Sh SEE ALSO 60.Xr brk 2 , 61.Xr malloc 3 62.Sh HISTORY 63A 64.Nm end 65manual appeared in 66.At v6 . 67