:man| Alphabetical   Categories   About us 
 
END (3) | C library functions | Unix Manual Pages | :man

NAME

end, etext, edata - end boundaries of image segments

CONTENTS

Synopsis
Description
See Also
History
Bugs

SYNOPSIS


.Vt extern end ;
.Vt extern etext ;
.Vt extern edata ;

DESCRIPTION

The globals end, etext and edata are program segment end addresses.

etext is the first address after the end of the text segment.

edata is the first address after the end of the initialized data segment.

end is the first address after the end of the data segment (BSS) when the program is loaded. Use the sbrk(2) system call with zero as its argument to find the current end of the data segment.

SEE ALSO

sbrk(2), malloc(3), a.out(5)

HISTORY

BUGS

 
Created by Blin Media, 2008-2013