mlib_free(3MLIB) mediaLib Library Functions mlib_free(3MLIB)NAMEmlib_free - free a block of bytes
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
void mlib_free(void *ptr);
DESCRIPTION
The mlib_free() function frees a block of bytes previously allocated by
mlib_malloc() or mlib_realloc().
This function is a wrapper of the standard C function free().
PARAMETERS
The function takes the following arguments:
ptr Pointer to a previously allocated block.
RETURN VALUES
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOmlib_malloc(3MLIB), mlib_realloc(3MLIB), malloc(3C), attributes(5)SunOS 5.10 2 Mar 2007 mlib_free(3MLIB)