1mlib_ImageIsUserAllocated(3mMeLdIiBa)Lib Library Funcmtliiobn_sImageIsUserAllocated(3MLIB)
2
3
4
6 mlib_ImageIsUserAllocated - image query, user-allocated
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 int mlib_ImageIsUserAllocated(const mlib_image *src);
13
14
16 The mlib_ImageIsUserAllocated() function tests for a specific alloca‐
17 tion characteristic of a mediaLib image structure.
18
20 The function takes the following arguments:
21
22 src Pointer to source image.
23
24
26 Returns 0 if data space has been allocated by mediaLib; otherwise,
27 returns nonzero.
28
30 See attributes(5) for descriptions of the following attributes:
31
32
33
34
35 ┌─────────────────────────────┬─────────────────────────────┐
36 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
37 ├─────────────────────────────┼─────────────────────────────┤
38 │Interface Stability │Committed │
39 ├─────────────────────────────┼─────────────────────────────┤
40 │MT-Level │MT-Safe │
41 └─────────────────────────────┴─────────────────────────────┘
42
44 mlib_ImageIsNotAligned2(3MLIB), mlib_ImageIsNotAligned4(3MLIB),
45 mlib_ImageIsNotAligned8(3MLIB), mlib_ImageIsNotAligned64(3MLIB),
46 mlib_ImageIsNotHeight2X(3MLIB), mlib_ImageIsNotHeight4X(3MLIB),
47 mlib_ImageIsNotHeight8X(3MLIB), mlib_ImageIsNotOneDvector(3MLIB),
48 mlib_ImageIsNotStride8X(3MLIB), mlib_ImageIsNotWidth2X(3MLIB),
49 mlib_ImageIsNotWidth4X(3MLIB), mlib_ImageIsNotWidth8X(3MLIB),
50 attributes(5)
51
52
53
54SunOS 5.11 2 Mar 2007 mlib_ImageIsUserAllocated(3MLIB)