Gentee Programming Language > Documentation > Libraries Download documentation

alloc

The function allocates the memory of the specified size.
 
uint alloc(
      uint   size
)

Parameters

sizeThe size of memory space to be allocated.

Return value

The pointer to the allocated memory space or 0 in case of an error.

See also

    Working with memory


 Copyright © 2004-2006 Gentee Inc. All rights reserved.