diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man3/end.3 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man3/end.3')
| -rw-r--r-- | static/unix-v10/man3/end.3 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/static/unix-v10/man3/end.3 b/static/unix-v10/man3/end.3 new file mode 100644 index 00000000..c7ec5f6a --- /dev/null +++ b/static/unix-v10/man3/end.3 @@ -0,0 +1,45 @@ +.TH END 3 +.CT 2 mem_man +.SH NAME +end, etext, edata \(mi last locations in program +.SH SYNOPSIS +.nf +.B extern end; +.B extern etext; +.B extern edata; +.fi +.SH DESCRIPTION +These names refer neither to routines +nor to locations with interesting contents. +The address of +.I etext +is the first address above the program text, +.I edata +above the initialized data region, and +.I end +above the uninitialized data region. +.PP +When execution begins, the program break +coincides with +.I end, +but it is reset by +the routines +.IR brk (2), +.IR malloc (3), +standard input/output +.RI ( stdio (3)), +the profile +.RB ( -p ) +option of +.IR cc (1), +etc. +The current value of the program break +is reliably returned by +.BR sbrk(0) ; +see +.IR brk (2). +.SH "SEE ALSO" +.IR brk (2), +.IR malloc (3), +.IR stdio (3), +.IR cc (1) |
