m_destroy_layout() — Destroy a layout object (bidi data)

Standards

Standards / Extensions C or C++ Dependencies

ISO C
XPG4
C99

both z/OS V1R2

Format

#include <sys/layout.h>

int m_destroy_layout(const LayoutObject layoutobject);

General description

The m_destroy_layout() function is part of the support for handling of bidirectional (Bidi) conversion of data between Visual (MVS™) and Implicit (z/OS® UNIX) formats. Initial support is for Arabic and Hebrew data.

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( ) function.

Returned value

If successful, m_destroy_layout() returns 0.

If unsuccessful, m_destroy_layout() returns -1 and sets errno to one of the following values:

Error Code
Description
EFAULT
Errors occurred while processing the request.

Related information