GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  EDATA (3)

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

An end manual page appeared in AT&T v6 .

BUGS

Traditionally, no variable existed that pointed to the start of the text segment because the text segment always started at address zero. Although it is no longer valid to make this assumption, no variable similar to the ones documented above exists to point to the start of the text segment.
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.