---
name: "MPI_Int2handle"
section: "3"
platform: "linux"
package: "mpi-doc"
version: "1.2.7-9.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/MPI_Int2handle"
---

# MPI\_Int2handle(3)

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

## NAME

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

## SYNOPSIS

```
#include "mpi.h"
MPI_Handle_type MPI_Int2handle( f_handle, handle_kind )
MPI_Fint        f_handle;
MPI_Handle_enum handle_kind;
```

## INPUT PARAMETERS

- **f\_handle**

  \- Fortran integer handle

- **handle\_kind**

  \- Type of handle

## RETURN VALUE

- **c\_handle**

  \- C version of handle; should be cast to the correct type.

## NOTES

The returned handle should be cast to the correct type by the user.

## 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

int2handle.c
