82 lines
2.9 KiB
Groff
82 lines
2.9 KiB
Groff
.\" Copyright (c) 1986
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)end.3 6.4 (Berkeley) 1/24/94
|
|
.\" %FreeBSD: src/share/man/man3/end.3,v 1.3.2.3 2001/01/12 16:16:01 ru Exp %
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd August 28, 2000
|
|
.Dt END 3
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm end ,
|
|
.Nm etext ,
|
|
.Nm edata
|
|
.Nd ¥¤¥á¡¼¥¸¥»¥°¥á¥ó¥È¤Î½ªÎ»¶³¦
|
|
.Sh ½ñ¼°
|
|
.Vt extern end ;
|
|
.Vt extern etext ;
|
|
.Vt extern edata ;
|
|
.Sh ²òÀâ
|
|
¥°¥í¡¼¥Ð¥ë
|
|
.Va end , extext
|
|
¤ª¤è¤Ó
|
|
.Va edata
|
|
¤Ï¥×¥í¥°¥é¥à¥»¥°¥á¥ó¥È¤ÎËöÈø¥¢¥É¥ì¥¹¤Ç¤¹¡£
|
|
.Pp
|
|
.Va etext
|
|
¤Ï¡¢¥Æ¥¥¹¥È¥»¥°¥á¥ó¥È¤ÎËöÈø¤Ë³¤¯ºÇ½é¥¢¥É¥ì¥¹¤Ç¤¹¡£
|
|
.Pp
|
|
.Va edata
|
|
¤Ï¡¢½é´ü²½ºÑ¤ß¥Ç¡¼¥¿¥»¥°¥á¥ó¥È¤ÎËöÈø¤Ë³¤¯ºÇ½é¥¢¥É¥ì¥¹¤Ç¤¹¡£
|
|
.Pp
|
|
.Va end
|
|
¤Ï¡¢¥×¥í¥°¥é¥à¥í¡¼¥É»þ¤Ë¡¢¥Ç¡¼¥¿¥»¥°¥á¥ó¥È
|
|
.Pq Tn BSS
|
|
¤ÎËöÈø¤Ë³¤¯ºÇ½é¤Î¥¢¥É¥ì¥¹¤Ç¤¹¡£
|
|
.Xr sbrk 2
|
|
.\".Fn sbrk 0
|
|
¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò 0 ¤ò°ú¿ô¤È¤·¤Æ¼Â¹Ô¤¹¤ë¤È¡¢
|
|
¸½ºß¤Î¥Ç¡¼¥¿¥»¥°¥á¥ó¥È¤ÎËöÈø¤¬ÆÀ¤é¤ì¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr sbrk 2 ,
|
|
.Xr malloc 3 ,
|
|
.Xr a.out 4
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥Þ¥Ë¥å¥¢¥ë¤Ï
|
|
.At v6
|
|
¤ÇÅо줷¤Þ¤·¤¿¡£
|
|
.Sh ¥Ð¥°
|
|
ÅÁÅýŪ¤Ë¤Ï¡¢¥Æ¥¥¹¥È¥»¥°¥á¥ó¥È¤ÎÀèÆ¬¤ò»Ø¤¹ÊÑ¿ô¤Ï¸ºß¤·¤Þ¤»¤ó¤Ç¤·¤¿¡£
|
|
¤Ê¤¼¤Ê¤é¡¢¥Æ¥¥¹¥È¥»¥°¥á¥ó¥È¤Ï¾ï¤Ë¥¢¥É¥ì¥¹ 0 ¤«¤é³«»Ï¤·¤¿¤«¤é¤Ç¤¹¡£
|
|
¤³¤Î²¾Äê¤Ï¸½ºß¤Ç¤Ï¤â¤¦Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£
|
|
¥Æ¥¥¹¥È¥»¥°¥á¥ó¥È¤ÎÀèÆ¬¤ò»Ø¤¹¡¢Á°½Ò¤Î¤è¤¦¤ÊÊÑ¿ô¤Ï¡¢Â¸ºß¤·¤Þ¤»¤ó¡£
|