ENDFNM ( namlen, name, type, ifail )
====================================
Enquiry for an attribute type definition from its name.
Can be called from the GO.
Receives:
KI_int_nitems *namlen --- length of 'name'
KI_chr_string name[namlen] --- name of attribute type
Returns:
<KI_tag_attrib_def> *type --- attribute type
KI_cod_error *ifail --- error code
Description:
ENDFNM returns the tag of the attribute type definition with the given
name, or the null tag if there is no such attribute type definition.
The received arguments are handled in exactly the same way as the
corresponding arguments of CRATDF, except that there is no restriction
on 'name'; supplying SDL/TYSA_COLOUR, for instance, will return the
tag of the system-defined colour attribute.
If only the token identifier of an attribute type is known, the string
identifier may be deduced from it; see the chapter on attributes, the
header for DFATTY and the appendix on system attribute type definitions.