XieMalloc(3X) — Subroutines
Digital
NAME
XieMalloc − This routine allocates a block of memory having undefined contents on the client side.
C Format
pointer = XieMalloc(size)
C Argument Information
void ∗pointer;
unsigned size;
RETURN VALUES
The routine returns a pointer to the block of allocated memory in the pointer argument. If the allocation fails, the routine returns a null value. You should free the memory using the XieFree routine.
PARAMETERS
sizeThe size argument specifies the size in bytes of the allocated block of memory.
DESCRIPTION
This routine allocates a block of memory on the client side having undefined contents.
XIE Events and Error Messages
Protocol Messages: None
XIE event returned: None
XieLib errors: Returns a null pointer if the memory cannot be allocated
XieServer errors: None