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