lxalloc() Subroutine

Gets storage.

Library:
LPEXAPI.H
Include File:
LPEXAPI.H

C Syntax

char *lxalloc(int Size); 

Parameter

Size 
The amount of storage to be allocated in bytes.

Description

The lxalloc() subroutine is used to get storage.

Example

To allocate 1000 bytes of memory, type:

char *p;
p = lxalloc(1000);

Return Value

The return value is the return code from the Editor.


Building External Commands Written in the C Language
lxfree() Subroutine