Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

Xpermalloc − allocate memory never to be freed. 

Synopsis

char *Xpermalloc(size)
     unsigned int size;

Arguments

sizeSpecifies the size in bytes of the space to be allocated.  This specification is rounded to the nearest 4-byte boundary. 

Description

Xpermalloc() allocates some memory that will not be freed until the process exits.  Xperm­alloc is used by some toolkits for permanently allocated storage and allows some performance and space savings over the completely general memory allocator. 

Copyright O’Reilly & Assoc.  —  

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