Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XieCallocBits(3X) — OSF/1 X2.0-8 MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XieCallocBits(3X)  —  Subroutines

Digital

NAME

XieCallocBits − This routine allocates zeroed memory for an image data array. 

C Format

pointer = XieCallocBits(bits)

C Argument Information

unsigned char  ∗pointer;
unsigned     bits;

RETURN VALUES

The routine returns a pointer to the allocated image data array in the pointer argument.  If the routine fails, the routine returns null.  After using the memory, you should free the memory using the XieFreeBits routine. 

PARAMETERS

bitsThe bits argument specifies the size of the allocated image data array in bits. 

DESCRIPTION

This routine allocates zeroed memory for an image data array.  The size of the data array is specified by the size argument. 

XIE Events and Error Messages

Protocol Messages: None

XIE event returned: None

XieLib errors: Returns a null if the routine cannot allocate the memory

XieServer errors: None
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026