1m_destroy_layout(3LAYOUTL)ayout Service Library Functionms_destroy_layout(3LAYOUT)
2
3
4
6 m_destroy_layout - destroy a layout object
7
9 cc [ flag... ] file... -llayout [ library... ]
10 #include <sys/layout.h>
11
12
13
14 int m_destroy_layout(const LayoutObject layoutobject);
15
16
18 The m_destroy_layout() function destroys a LayoutObject by deallocating
19 the layout object and all the associated resources previously allocated
20 by the m_create_layout(3LAYOUT) function.
21
23 Upon successful completion, 0 is returned. Otherwise −1 is returned and
24 errno is set to indicate the error.
25
27 The m_destroy_layout() function may fail if:
28
29 EBADF The attribute object is erroneous.
30
31
32 EFAULT Errors occurred while processing the request.
33
34
36 See attributes(5) for descriptions of the following attributes:
37
38
39
40
41 ┌─────────────────────────────┬─────────────────────────────┐
42 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
43 ├─────────────────────────────┼─────────────────────────────┤
44 │Interface Stability │Standard │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │MT-Level │MT-Safe │
47 └─────────────────────────────┴─────────────────────────────┘
48
50 m_create_layout(3LAYOUT), attributes(5), standards(5)
51
52
53
54SunOS 5.11 7 Aug 2006 m_destroy_layout(3LAYOUT)