-
Functions HI-TECH C SBRK
From HI-TECH C for CP/M Fan WIKI(EN)
SBRK
SYNOPSIS
char * sbrk(int incr)
DESCRIPTION
Sbrk() increments the current highest memory location allocated to the program by incr bytes. It returns a pointer to the previous highest location. Thus sbrk(0) returns a pointer to the current highest location, without altering its value. If there is insufficient memory to satisfy the request, -1 is returned.
SEE ALSO
brk, malloc, calloc, realloc, free