Chapter 5 C Routines Reference


JagAlloc

Description

Allocate memory for use in C or C++ component code.

Syntax

void * JAG_PUBLIC JagAlloc(
SQLINTEGER len
);

Parameters

len

The number of bytes to be allocated.

Return Values

A pointer to newly allocated memory or NULL if the requested block of memory can not be allocated.

Usage

Memory allocated with JagAlloc must be freed with JagFree.

See Also

JagFree

 


Copyright © 2000 Sybase, Inc. All rights reserved.