|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 2 Oracle Solaris 11 Information Library|
- destroy a layout object
cc [ flag... ] file... –llayout [ library... ] #include <sys/layout.h> int m_destroy_layout(const LayoutObject layoutobject);
The m_destroy_layout() function destroys a LayoutObject by deallocating the layout object and all the associated resources previously allocated by the m_create_layout(3LAYOUT) function.
Upon successful completion, 0 is returned. Otherwise -1 is returned and errno is set to indicate the error.
The m_destroy_layout() function may fail if:
The attribute object is erroneous.
Errors occurred while processing the request.
See attributes(5) for descriptions of the following attributes: