/*D
   MPI_File_get_amode - Returns the file access mode

Synopsis:
.vb
int MPI_File_get_amode(MPI_File fh, int *amode)
.ve

Input Parameters:
. fh - file handle (handle)

Output Parameters:
. amode - file access mode used to open the file (integer)

.N ThreadSafe

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_ARG
.N MPI_ERR_OTHER

D*/

