END.3
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. END(3)                    Minix Programmer's Manual                     END(3)
  2. NAME
  3.      end, etext, edata - last locations in program
  4. SYNOPSIS
  5.      extern int etext;
  6.      extern int edata;
  7.      extern int end, _end;
  8. DESCRIPTION
  9.      These names refer neither to routines nor to locations  with  interesting
  10.      contents.   The  address  of etext is the first address above the program
  11.      text, edata  above  the  initialized  data  region,  and  end  above  the
  12.      uninitialized  data  region.   _end  is  the  same  as  end,  but  in the
  13.      implementers name space, i.e. for use in libraries.
  14.      When execution begins, the program break coincides with end,  but  it  is
  15.      reset   by   the   routines   brk(2),  malloc(3),  standard  input/output
  16.      (stdio(3)), etc.  The current value of  the  program  break  is  reliably
  17.      returned by `sbrk(0)', see brk(2).
  18. SEE ALSO
  19.      brk(2), malloc(3).
  20.                                 May 12, 1986                                 1