DOKK / manpages / debian 10 / mpich-doc / MPIR_Type_dup.3.en
MPIR_Type_dup(3) MPI MPIR_Type_dup(3)

MPIR_Type_dup - create a copy of a datatype

#undef FUNCNAME
#define FUNCNAME MPIR_Type_dup
#undef FCNAME
#define FCNAME MPL_QUOTE(FUNCNAME)
int MPIR_Type_dup(MPI_Datatype oldtype, MPI_Datatype * newtype)

- handle of original datatype

- handle of newly created copy of datatype

0 on success, MPI error code on failure.

11/21/2018