-

Changes

Jump to: navigation, search

Functions HI-TECH C SBRK

490 bytes added, 23:14, 31 July 2017
Created page with "<strong>SBRK</strong> ==SYNOPSIS== char * sbrk(int incr) ==DESCRIPTION== <strong>Sbrk</strong>() increments the current highest memory location allocated to the pro..."
<strong>SBRK</strong>
==SYNOPSIS==

char * sbrk(int incr)


==DESCRIPTION==
<strong>Sbrk</strong>() increments the current highest memory location
allocated to the program by incr bytes. It returns a
pointer to the previous highest location. Thus <strong>sbrk(0)</strong>
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

Navigation menu