Query: end
OS: v7
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
END(3) Library Functions Manual END(3)NAMEend, etext, edata - last locations in programSYNOPSISextern end; extern etext; extern edata;DESCRIPTIONThese names refer neither to routines nor to locations with interesting contents. The address of etext is the first address above the pro- gram text, edata above the initialized data region, and end above the uninitialized data region. When execution begins, the program break coincides with end, but many functions reset the program break, among them the routines of brk(2), malloc(3), standard input/output (stdio(3)), the profile (-p) option of cc(1), etc. The current value of the program break is reliably returned by `sbrk(0)', see brk(2).SEE ALSObrk(2), malloc(3) END(3)