---
name: "MPI_Handle2int"
section: "3"
platform: "linux"
package: "mpich"
version: "1.1.0-6"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/MPI_Handle2int"
---

# MPI\_Handle2int(3)

Convert a C handle to an integer (Fortran) MPI handle

## NAME

MPI\_Handle2int -  Convert a C handle to an integer (Fortran) MPI handle

## SYNOPSIS

```
#include "mpi.h"
MPI_Fint MPI_Handle2int( c_handle, handle_kind )
MPI_Handle_type c_handle;
MPI_Handle_enum handle_kind;
```

## INPUT PARAMETERS

- **c\_handle**

  \- C handle

- **handle\_kind**

  \- Type of handle

## RETURN VALUE

- **f\_handle**

  \- Fortran version of handle.

## NOTES FOR FORTRAN USERS

There is no Fortran version of this routine.

## NOTE ON STANDARD

This function is part of the MPI-2 draft, and may change while the draft undergoes revision.  It is provided as an aid to programmers who wish to experiment with some MPI2 features.

## LOCATION

handle2int.c
