1mlib_free(3MLIB)          mediaLib Library Functions          mlib_free(3MLIB)
2
3
4

NAME

6       mlib_free - free a block of bytes
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       void mlib_free(void *ptr);
13
14

DESCRIPTION

16       The mlib_free() function frees a block of bytes previously allocated by
17       mlib_malloc() or mlib_realloc().
18
19
20       This function is a wrapper of the standard C function free().
21

PARAMETERS

23       The function takes the following arguments:
24
25       ptr    Pointer to a previously allocated block.
26
27

RETURN VALUES

29       None.
30

ATTRIBUTES

32       See attributes(5) for descriptions of the following attributes:
33
34
35
36
37       ┌─────────────────────────────┬─────────────────────────────┐
38       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
39       ├─────────────────────────────┼─────────────────────────────┤
40       │Interface Stability          │Committed                    │
41       ├─────────────────────────────┼─────────────────────────────┤
42       │MT-Level                     │MT-Safe                      │
43       └─────────────────────────────┴─────────────────────────────┘
44

SEE ALSO

46       mlib_malloc(3MLIB), mlib_realloc(3MLIB), malloc(3C), attributes(5)
47
48
49
50SunOS 5.11                        2 Mar 2007                  mlib_free(3MLIB)
Impressum