ILE C/C++ Programmer's Guide

Bindable APIs for Using Teraspace

IBM provides the following bindable APIs for allocating and discarding teraspace.

_C_TS_malloc()
Allocates storage within a teraspace.

_C_TS_free()
Frees one previous allocation of teraspace.

_C_TS_realloc()
Changes the size of a previous teraspace allocation.

_C_TS_calloc()
Allocates storage within a teraspace and sets it to 0.

Note:
If a teraspace storage model is not specified, these bindable APIs allocate or deallocate single-level storage or teraspace storage according to the storage model of their calling program. For more information about Interprocess Communication APIs and the shmget() interface, see the UNIX-type APIs topic in the iSeries Information Center (under the Programming category and API subcategory).


[ Top of Page | Previous Page | Next Page | Table of Contents ]