diff options
Diffstat (limited to 'static/freebsd/man3/end.3 4.html')
| -rw-r--r-- | static/freebsd/man3/end.3 4.html | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/static/freebsd/man3/end.3 4.html b/static/freebsd/man3/end.3 4.html new file mode 100644 index 00000000..d4224605 --- /dev/null +++ b/static/freebsd/man3/end.3 4.html @@ -0,0 +1,61 @@ +<table class="head"> + <tr> + <td class="head-ltitle">END(3)</td> + <td class="head-vol">Library Functions Manual</td> + <td class="head-rtitle">END(3)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">end</code>, <code class="Nm">etext</code>, + <code class="Nm">edata</code> — <span class="Nd">end boundaries of + image segments</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp"><var class="Vt">extern end</var>; + <br/> + <var class="Vt">extern etext</var>; + <br/> + <var class="Vt">extern edata</var>;</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The globals <var class="Va">end</var>, <var class="Va">etext</var> + and <var class="Va">edata</var> are program segment end addresses.</p> +<p class="Pp"><var class="Va">etext</var> is the first address after the end of + the text segment.</p> +<p class="Pp"><var class="Va">edata</var> is the first address after the end of + the initialized data segment.</p> +<p class="Pp"><var class="Va">end</var> is the first address after the end of + the data segment (BSS) when the program is loaded. Use the + <a class="Xr">sbrk(2)</a> system call with zero as its argument to find the + current end of the data segment.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">sbrk(2)</a>, <a class="Xr">malloc(3)</a>, + <a class="Xr">a.out(5)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">An <code class="Nm">end</code> manual page appeared in + <span class="Ux">Version 6 AT&T UNIX</span>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1> +<p class="Pp">Traditionally, no variable existed that pointed to the start of + the text segment because the text segment always started at address zero. + Although it is no longer valid to make this assumption, no variable similar + to the ones documented above exists to point to the start of the text + segment.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">August 28, 2000</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
