/*D
   MPI_Type_ub - Returns the upper bound of a datatype

Synopsis:
.vb
int MPI_Type_ub(MPI_Datatype datatype, MPI_Aint *displacement)
.ve

Input Parameters:
. datatype - datatype to get information on (handle)

Output Parameters:
. displacement - displacement of upper bound from origin, in bytes (integer)

.N Removed
   The replacement for this routine is 'MPI_Type_get_extent'.

.N ThreadSafe

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_ARG
.N MPI_ERR_TYPE
.N MPI_ERR_OTHER

D*/

