Layout Service Library Functions m_destroy_layout(3LAYOUT)
NAME
m_destroy_layout - destroy a layout object
SYNOPSIS
cc [ flag... ] file... -llayout [ library... ]
#include
int m_destroy_layout(const LayoutObject layoutobject);
DESCRIPTION
The m_destroy_layout() function destroys a LayoutObject by
deallocating the layout object and all the associated resources previously allocated by them_create_layout(3LAYOUT) function.
RETURN VALUES
Upon successful completion, 0 is returned. Otherwise -1 is
returned and errno is set to indicate the error.ERRORS
The m_destroy_layout() function may fail if:
EBADF The attribute object is erroneous. EFAULT Errors occurred while processing the request.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 7 Aug 2006 1
Layout Service Library Functions m_destroy_layout(3LAYOUT)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
| Standard | See standards(5). ||_____________________________|_____________________________|
SEE ALSO
m_create_layout(3LAYOUT), attributes(5), standards(5)
SunOS 5.11 Last change: 7 Aug 2006 2