Content-type: text/html Man page of m_destroy_layout

m_destroy_layout

Section: Layout Service Library Functions (3LAYOUT)
Updated: 8 Jun 1999
Index Return to Main Contents
 

NAME

m_destroy_layout - destroy a layout object  

SYNOPSIS

cc [ flag... ] file... -llayout [ library... ]
#include <sys/layout.h>

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 the m_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 attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe

 

SEE ALSO

m_create_layout(3LAYOUT), attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
ERRORS
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:32 GMT, October 02, 2010