Query: mlib_malloc
OS: opensolaris
Section: 3mlib
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mlib_malloc(3MLIB) mediaLib Library Functions mlib_malloc(3MLIB)NAMEmlib_malloc - allocate a block of bytesSYNOPSIScc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> void *mlib_malloc(size_t size);DESCRIPTIONThe mlib_malloc() function allocates size bytes on a 16-byte aligned boundary and returns a pointer to the allocated block. This function is equivalent to memalign(16, size).PARAMETERSThe function takes the following arguments: size Size of the block in bytes.RETURN VALUESThe function returns a pointer to the allocated block if successful. Otherwise it returns a null pointer.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOmlib_free(3MLIB), mlib_realloc(3MLIB), malloc(3C), attributes(5) SunOS 5.11 12 Sep 2007 mlib_malloc(3MLIB)
Similar Topics in the Unix Linux Community |
---|
os block size |
Block Size |