Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XieMallocBits(3X)  —  Subroutines

Digital

NAME

XieMallocBits − This routine allocates a block of memory having undefined contents for an image data array. 

C Format

pointer = XieMallocBits(bits)

C Argument Information

unsigned char  ∗pointer;
unsigned     bits;

RETURN VALUES

The routine returns a pointer to the allocated block of memory in the pointer argument. If the allocation fails, the routine returns a null value. You should free the memory using the XieFreeBits routine. 

PARAMETERS

bitsThe bits argument specifies the size in bits of the allocated block of memory. 

DESCRIPTION

This routine allocates a block of memory having undefined contents for a client image data array. 

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

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