Bell 32V development
authorTom London <tbl@research.uucp>
Sat, 9 Dec 1978 03:47:46 +0000 (22:47 -0500)
committerTom London <tbl@research.uucp>
Sat, 9 Dec 1978 03:47:46 +0000 (22:47 -0500)
Work on file usr/man/man3/end.3

Co-Authored-By: John Reiser <jfr@research.uucp>
Synthesized-from: 32v

usr/man/man3/end.3 [new file with mode: 0644]

diff --git a/usr/man/man3/end.3 b/usr/man/man3/end.3
new file mode 100644 (file)
index 0000000..d931177
--- /dev/null
@@ -0,0 +1,40 @@
+.TH END 3 
+.SH NAME
+end, etext, edata \- last locations in program
+.SH SYNOPSIS
+.B extern end;
+.br
+.B extern etext;
+.br
+.B extern edata;
+.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 resetting the program break by
+the routines of
+.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 `sbrk(0)',
+see
+.IR brk (2).
+.SH "SEE ALSO"
+brk(2), malloc(3)