# Synopsis

(macro) int ddf_GetFieldType(DDF_FLD *fld)

# Purpose

Get field type.

# Description

The type of the DDF_FLD fld is returned. The type will correspond to the declaration of the field in the DDF. The returned type can be any of the field types described in the ddf_intro man page except UNION. UNION fields will be returned as a STRUCT with the DDF_UNION bit set in the field information flags (see ddf_GetFieldInfo).

# Input

## fld

Field whose type is to be returned

# Return

Type of fld.