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

NAME

6       mlib_ImageDelete - image delete
7

SYNOPSIS

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

DESCRIPTION

16       The  mlib_ImageDelete() function deletes the mediaLib image data struc‐
17       ture and frees the memory space of the image data only if it  is  allo‐
18       cated  through  mlib_ImageCreate().  The  data type of the image can be
19       MLIB_BIT, MLIB_BYTE, MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT,  or
20       MLIB_DOUBLE.
21

PARAMETERS

23       The function takes the following arguments:
24
25       img    Pointer to mediaLib image structure.
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_ImageCreate(3MLIB),  mlib_ImageCreateStruct(3MLIB), mlib_ImageCre‐
47       ateSubimage(3MLIB), attributes(5)
48
49
50
51SunOS 5.11                        2 Mar 2007           mlib_ImageDelete(3MLIB)
Impressum