Query: end
OS: osf1
Section: 5
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
end(5) File Formats Manual end(5)NAMEend, etext, edata - Defines the last location of a programSYNOPSISextern end; extern etext; extern edata;DESCRIPTIONThe external names end, etext, and edata are defined for all programs. They are not functions, but identifiers associated with the follow- ing addresses: The first address following the program text. The first address following the initialized data region. The first address following the data region that is not initialized. The break value of the program is the first location beyond the data. When a program begins running, this location coincides with end. However, many factors can change the break value, including: The brk() function The malloc() function The standard I/O functions The -p flag on the cc command Therefore, use sbrk(0), not end, to determine the break value of the program.SEE ALSOFunctions: brk(2), malloc(3) Commands: cc(1) end(5)