/*D
   MPI_Type_set_attr - Stores attribute value associated with a key

Synopsis:
.vb
int MPI_Type_set_attr(MPI_Datatype datatype, int type_keyval,
                      void *attribute_val)
.ve

Input Parameters:
+ datatype - datatype to which attribute will be attached (handle)
. type_keyval - key value (integer)
- attribute_val - attribute value (None)

Notes:

The type of the attribute value depends on whether C or Fortran is being used.
In C, an attribute value is a pointer ('void *'); in Fortran, it is an
address-sized integer.

If an attribute is already present, the delete function (specified when the
corresponding keyval was created) will be called.

.N ThreadSafe

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_KEYVAL
.N MPI_ERR_TYPE
.N MPI_ERR_OTHER

D*/

