---
name: "MPIR_Type_get_contents"
section: "3"
platform: "linux"
package: "mpich-doc"
version: "3.3-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MPIR_Type_get_contents"
---

# MPIR\_Type\_get\_contents(3)

get content information from datatype

## NAME

MPIR\_Type\_get\_contents -  get content information from datatype

## SYNOPSIS

```
int MPIR_Type_get_contents(MPI_Datatype datatype,
                           int max_integers,
                           int max_addresses,
                           int max_datatypes,
                           int array_of_integers[],
                           MPI_Aint array_of_addresses[], MPI_Datatype array_of_datatypes[])
```

## INPUT PARAMETERS

- **datatype**

  \- MPI datatype

- **max\_integers**

  \- size of array\_of\_integers

- **max\_addresses**

  \- size of array\_of\_addresses

- **max\_datatypes**

  \- size of array\_of\_datatypes

## OUTPUT PARAMETERS

- **array\_of\_integers**

  \- integers used in creating type

- **array\_of\_addresses**

  \- MPI\_Aints used in creating type

- **array\_of\_datatypes**

  \- MPI\_Datatypes used in creating type
