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 |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_free(3MLIB), mlib_malloc(3MLIB), malloc(3C), attributes(5)SunOS 5.10 9 Nov 2004 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)
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)
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)
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)
Hi guys,
I am trying to add the content of fileB into fileA but after a specific block within FileA
for instance i have a file that starts as follow:
-------------------------------------------------------------------------------
-- Title :
-- Project : ... (4 Replies)
Hi ,
Can you pleas help me with below requirement?
There is only one big line in the file. I need to parse block by block(particular tag values, 'Val' in below case) to get different parameters.
Example:-
Portion of the Input string:-
<?xml version="1.1" encoding="UTF-8"?> <Data><Val ... (4 Replies)