Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

brk(2)

sbrk(2)

calloc(3C)

malloc(3C)

realloc(3C)

SET_SBRK_SIZE(2)

NAME

set_sbrk_size − define memory available for allocation

SYNOPSIS

set_sbrk_size (newsize)
int newsize;

DESCRIPTION

The AUX function set_sbrk_size defines the amount of memory available for allocation by the memory allocation functions sbrk, brk, malloc, realloc, and calloc.  In order to allocate a storage area larger than 256K bytes, you must call set_sbrk_size before calling any of the memory allocation functions. 

SEE ALSO

brk(2), sbrk(2), calloc(3C), malloc(3C), realloc(3C). 

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