opensolaris man page for mlib_realloc

Query: mlib_realloc

OS: opensolaris

Section: 3mlib

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

mlib_realloc(3MLIB)					    mediaLib Library Functions					       mlib_realloc(3MLIB)

NAME
mlib_realloc - reallocate a block of bytes
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> void *mlib_realloc(void *ptr, size_t size);
DESCRIPTION
The mlib_realloc() function changes the size of the block pointed to by ptr to size bytes and returns a pointer to the (possibly moved) block. This function is a wrapper of the standard C function realloc().
PARAMETERS
The function takes the following arguments: size New size of the block in bytes. ptr Pointer to a block.
RETURN VALUES
The function returns a pointer to the reallocated 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 |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
mlib_free(3MLIB), mlib_malloc(3MLIB), malloc(3C), attributes(5) SunOS 5.11 2 Mar 2007 mlib_realloc(3MLIB)
Related Man Pages
mlib_videoaddblock_u8_s16(3mlib) - opensolaris
mlib_videoidct8x8_s16_s16_q1(3mlib) - opensolaris
mlib_free(3mlib) - opensolaris
mlib_memmove(3mlib) - opensolaris
mlib_memset(3mlib) - opensolaris
Similar Topics in the Unix Linux Community
os block size
Conversion between different block size filesystems
block chat
O/s block size