Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_realloc(3mlib) [opensolaris man page]

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)

Check Out this Related Man Page

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)
Man Page

4 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

os block size

AIX 4.3.3 How can I find the os block size? How can I change the OS Block Size? When and where does the os block size get set? I am running oracle 8.1.7 and am under the impression I need to set my os block size = oracle block size which is 8k. Any insight on this would be... (1 Reply)
Discussion started by: kburrows
1 Replies

2. UNIX for Advanced & Expert Users

Conversion between different block size filesystems

Hi, this is for the first time I am using this forum. I have one question: When i transfer one file/directory from a Unix system,having file block size of 1024 bytes, to another Unix system ,having file block size of 512 bytes what difference can it cause in terms of file size? When i... (2 Replies)
Discussion started by: pankschawla
2 Replies

3. Linux

block chat

i m setting up squid proxy to block gtalk & msn, etc... i found through internet to block port 5223 & 5222 for gtalk i tried to block by acl block_port 5223 5222 but it didnt block plz guide me to block these chat thansks (1 Reply)
Discussion started by: click007
1 Replies

4. Red Hat

O/s block size

Hi Guys, I am running Linux 2.6.18-164.el x86_64 how do i check the block size? Thanks in advance... (1 Reply)
Discussion started by: Phuti
1 Replies