Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
end(3C)								       end(3C)

NAME
       end,  etext, edata, __data_start, __text_start -	last locations in pro-
       gram

SYNOPSIS
DESCRIPTION
       These names refer neither to routines nor to locations with interesting
       contents.   The	address	 of the	symbols	and is the first address above
       the program text, the address of	and is the  first  address  above  the
       initialized  data  region,  and the address of and is the first address
       above the uninitialized data region.

       The address of the symbols is the beginning address  of	the  program's
       data area, and is the beginning address of the program's	text area.

       The  linker  defines  these symbols with	the appropriate	values if they
       are referenced by the program but not defined.  The  linker  issues  an
       error if	the user attempts to define or

       When execution begins, the program break	(the first location beyond the
       data) coincides with but	the program break can be reset by the routines
       of  brk(2),  malloc(3C),	standard input/output (stdio(3S)), the profile
       option of cc(1),	and so on.  Thus, the current  value  of  the  program
       break should be determined by (see brk(2)).

WARNINGS
       In  C,  these  names must look like addresses.  Thus, use instead of to
       access the current value	of end.

SEE ALSO
   System Tools:
       cc(1)		 invoke	the HP-UX C compiler
       ld(1)		 invoke	the link editor

   Miscellaneous:
       brk(2)		 change	data segment space allocation
       crt0(3)		 execution startup routine
       malloc(3C)	 main memory allocator
       stdio(3S)	 standard buffered input/output	stream file package

STANDARDS CONFORMANCE
								       end(3C)

NAME | SYNOPSIS | DESCRIPTION | WARNINGS | SEE ALSO | STANDARDS CONFORMANCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=end&sektion=3c&manpath=HP-UX+11.22>

home | help