IBM Books

MPI Subroutine Reference

MPI_File_f2c

Purpose

Returns a C handle to a file.

C synopsis

#include <mpi.h>
MPI_File MPI_File_f2c(MPI_Fint file);

Parameters

file
is the file (handle) (IN)

Description

This function does not have C++ or FORTRAN bindings. MPI_File_f2c returns a C handle to a file. If file is a valid FORTRAN handle to a file, MPI_File_f2c returns a valid C handle to that same file. If file is set to the FORTRAN value MPI_FILE_NULL, MPI_File_f2c returns the equivalent null C handle. If file is not a valid FORTRAN handle, MPI_File_f2c returns a non-valid C handle. The converted handle is returned as the function's value. There is no error detection or return code.

Errors

None.

Related information

MPI_File_c2f


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]