source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_File_get_amode.3 @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 1.6 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_get_amode 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_get_amode\fP \- Returns access mode associated with an open file.
6
7.SH SYNTAX
8.ft R
9.nf
10C Syntax
11    #include <mpi.h>
12    int MPI_File_get_amode(MPI_File \fIfh\fP, int \fI*amode\fP)
13
14Fortran Syntax
15    INCLUDE 'mpif.h'
16    MPI_FILE_GET_AMODE(\fIFH\fP,\fI AMODE\fP, \fI IERROR\fP)
17                 INTEGER        FH, AMODE, IERROR
18
19.SH C++ Syntax
20.nf
21#include <mpi.h>
22int MPI::File::Get_amode() const
23
24.SH INPUT PARAMETER
25.ft R
26.TP 1i
27fh   
28File handle (handle).
29
30.SH OUTPUT PARAMETERS
31.ft R
32.TP 1i
33amode
34File access mode used to open the file (integer).
35.TP 1i
36IERROR
37Fortran only: Error status (integer).
38
39.SH DESCRIPTION
40.ft R
41
42MPI_File_get_amode returns, in
43.I amode,
44the access mode associated with the open file
45.I fh.
46
47.SH ERRORS
48Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ functions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object.
49.sp
50Before the error value is returned, the current MPI error handler is
51called. For MPI I/O function errors, the default error handler is set to MPI_ERRORS_RETURN. The error handler may be changed with MPI_File_set_errhandler; the predefined error handler MPI_ERRORS_ARE_FATAL may be used to make I/O errors fatal. Note that MPI does not guarantee that an MPI program can continue past an error. 
52
Note: See TracBrowser for help on using the repository browser.