*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> end (5)              
Title
Content
Arch
Section
 

end(5)

Contents


NAME    [Toc]    [Back]

       end, etext, edata - Defines the last location of a program

SYNOPSIS    [Toc]    [Back]

       extern end; extern etext; extern edata;


DESCRIPTION    [Toc]    [Back]

       The external names end, etext, and edata are  defined  for
       all  programs.   They  are  not functions, but identifiers
       associated with the following 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 ALSO    [Toc]    [Back]

      
      
       Functions: brk(2), malloc(3)

       Commands: cc(1)



                                                           end(5)
[ Back ]
 Similar pages
Name OS Title
rename Linux change the name or location of a file
index IRIX return location of FORTRAN substring
slpd HP-UX Service Location Protocol Daemon
minloc IRIX Returns the location of a minimum value in an array
maxloc IRIX Returns the location of a maximum value in an array
index IRIX return location of FORTRAN substring
pthread_stackseg_np OpenBSD return stack size and location
objinsert IRIX inserts routines in an object at a specified location
nis_cachemgr HP-UX maintains a cache containing location information about NIS+ servers
telldir Linux return current location in directory stream.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service