root/ompi/mca/io/romio321/romio/mpi-io/file_f2c.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. MPI_File_f2c

   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /* 
   3  *
   4  *   Copyright (C) 1997 University of Chicago. 
   5  *   See COPYRIGHT notice in top-level directory.
   6  */
   7 
   8 #include "mpioimpl.h"
   9 
  10 #ifdef HAVE_WEAK_SYMBOLS
  11 
  12 #if defined(HAVE_PRAGMA_WEAK)
  13 #pragma weak MPI_File_f2c = PMPI_File_f2c
  14 #elif defined(HAVE_PRAGMA_HP_SEC_DEF)
  15 #pragma _HP_SECONDARY_DEF PMPI_File_f2c MPI_File_f2c
  16 #elif defined(HAVE_PRAGMA_CRI_DUP)
  17 #pragma _CRI duplicate MPI_File_f2c as PMPI_File_f2c
  18 /* end of weak pragmas */
  19 #elif defined(HAVE_WEAK_ATTRIBUTE)
  20 MPI_File MPI_File_f2c(MPI_Fint fh) __attribute__((weak,alias("PMPI_File_f2c")));
  21 #endif
  22 
  23 /* Include mapping from MPI->PMPI */
  24 #define MPIO_BUILD_PROFILING
  25 #include "mpioprof.h"
  26 #endif
  27 #include "adio_extern.h"
  28 
  29 /*@
  30     MPI_File_f2c - Translates a Fortran file handle to a C file handle
  31 
  32 Input Parameters:
  33 . fh - Fortran file handle (integer)
  34 
  35 Return Value:
  36   C file handle (handle)
  37 @*/
  38 MPI_File MPI_File_f2c(MPI_Fint fh)
  39 {
  40     return MPIO_File_f2c(fh);
  41 }

/* [<][>][^][v][top][bottom][index][help] */