MPI_Status_f2c(3)

NAME
MPI_Status_f2c - Convert a FORTRAN MPI status object into a C MPI status object

SYNOPSIS
#include <mpi.h>
int MPI_Status_f2c(MPI_Fint *f_status, MPI_Status *c_status);

#include <pmpi.h>
int PMPI_Status_f2c(MPI_Fint *f_status, MPI_Status *c_status);

INPUT PARAMETER
f_status
    - status object from FORTRAN (array)

OUTPUT PARAMETER
c_status
    - status object for C (structure)

DESCRIPTION
The MPI_Status_f2c() function is used to convert a FORTRAN integer-array status object f_status, into a C MPI_Status object, c_status. This function simply calls memcpy() with the correct size. PMPI_Status_f2c() is the profiling version of this function.

ERRORS
All MPI routines except for MPI_Wtime and MPI_Wtick return an error value. The the current MPI error handler is invoked if this return value is not MPI_SUCCESS. The default error handler aborts, but this may be changed with by using the MPI_Errhandler_set() function. The predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned instead. Note that MPI does not guarentee that an MPI program can continue past an error. In this implementation, all errors except MPI_ERR_INTERN or MPI_ERR_OTHER should always be recoverable.
MPI_SUCCESS
    - No error;
MPI_ERR_ARG
    - Invalid pointer.

SEE ALSO
MPI_Status_c2f(3)