# ATTRIBUTES DECORATE

The ATTRIBUTES directive option DECORATE specifies that the external name used in !DIR$ ALIAS or !DIR$ ATTRIBUTES ALIAS should have the prefix and postfix decorations performed on it that are associated with the platform and calling mechanism that is in effect. These are the same decorations performed on the procedure name when ALIAS is not specified, except that, on Linux* and macOS systems, DECORATE does not add a trailing underscore signifying a Fortran procedure.

!DIR$ ATTRIBUTES DECORATE :: exname

exname | Is an external name. It may not be the name of an internal procedure.

The case of the ALIAS external name is not modified.

If ALIAS is not specified, this option has no effect.

## See Also

ATTRIBUTES
Syntax Rules for Compiler Directives
ATTRIBUTES ALIAS
The summary of prefix and postfix decorations in the description of the ATTRIBUTES options C and STDCALL