Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ end(3) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



END(3)          DOMAIN/IX Reference Manual (SYS5)          END(3)



NAME
     end - last location in program

USAGE
         char *end
         .
         .
     main ()
     {   end= sbrk(0);
         .
         .
     }


DESCRIPTION
     On the DOMAIN/IX system, end is not a predefined value. To
     use end in a program, include the lines above. The program
     break will then coincide with end.  Subsequent brk(2) and
     malloc(3C) routines may change the break, but end will
     remain in the same location. The current value of the pro-
     gram break is reliably returned by ``sbrk(0)''.

RELATED INFORMATION
     brk(2)
     malloc(3C)






























Printed 1/27/86                                             END-1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026