# Synopsis

PDX_MSGT gdx_EntityGetLabel(long option, MDA_PTR gdx_ent_ptr, char **label)

# Purpose

Given a GDX entity, get the native label.

# Description

Get the orig_db_ptr for the specified GDX entity and find the associated attribute entity. If an attribute and label is found, allocate memory for label and copy it.

# Input

## option

Options (not used)

## gdx_ent_ptr

GDX entity

# Output

## label

Label (memory allocated must be freed by application)

# Return

          GDX_NOERR
          .fi