01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

END ( 3C ) END ( 3C )<br />

NAME<br />

end, etext, edata - last locations in program<br />

SYNOPSIS<br />

extern end;<br />

extern etext;<br />

extern edata;<br />

DESCRIPTION<br />

These names refer neither to routines nor to locations with<br />

interesting contents. The address of etext is the first address<br />

above the program text, edata above the initialized data region,<br />

and end above the uninitialized data region.<br />

When execution begins, the program break (the first location<br />

beyond the data) coincides with end, but the program break may<br />

be reset by the routines of brk(2), malloc(3C), standard<br />

input/output ( stdio(3S)), the profile ( -p) option of cc( 1), and so<br />

on. Thus, the current value of the program break should be<br />

determined by sbrk(O) (see brk(2)).<br />

SEE ALSO<br />

brk(2), malloc(3C), stdio(3S).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!