sunos man page for mlib_malloc

Query: mlib_malloc

OS: sunos

Section: 3mlib

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

mlib_malloc(3MLIB)					    mediaLib Library Functions						mlib_malloc(3MLIB)

NAME
mlib_malloc - allocate a block of bytes
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> void *mlib_malloc(size_t size);
DESCRIPTION
The mlib_malloc() function allocates size bytes on an 8-byte aligned boundary and returns a pointer to the allocated block. This function is equivalent to memalign(8, size).
PARAMETERS
The function takes the following arguments: size Size of the block in bytes.
RETURN VALUES
The function returns a pointer to the allocated block if successful. Otherwise it returns a null pointer.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
mlib_free(3MLIB), mlib_realloc(3MLIB), malloc(3C), attributes(5) SunOS 5.10 9 Nov 2004 mlib_malloc(3MLIB)
Related Man Pages
mlib_videoaddblock_u8_s16(3mlib) - sunos
mlib_videocopyrefave_u8_u8(3mlib) - sunos
mlib_videocopyref_s16_u8(3mlib) - sunos
mlib_videoidct8x8_u8_s16_q1(3mlib) - opensolaris
mlib_free(3mlib) - opensolaris
Similar Topics in the Unix Linux Community
os block size
Block Size