@@ -52,36 +52,35 @@ Fortran 2008 Syntax
5252 DEPRECATED TYPE NAME NOTE
5353-------------------------
5454
55- MPI-2.2 deprecated the MPI_File_errhandler_fn and
56- MPI::file: :Errhandler_fn types in favor of MPI_File_errhandler_function
57- and MPI::File: :Errhandler_function, respectively. Open MPI supports both
58- names (indeed, the \_ fn names are typedefs to the \_ function names).
55+ MPI-2.2 deprecated the ``MPI_File_errhandler_fn `` type in favor of
56+ ``MPI_File_errhandler_function ``. Open MPI supports both
57+ names (indeed, the ``_fn `` names are typedefs to the ``_function `` names).
5958
6059
6160INPUT PARAMETER
6261---------------
62+
6363* ``function ``: User-defined error handling procedure (function).
6464
6565OUTPUT PARAMETERS
6666-----------------
67+
6768* ``errhandler ``: MPI error handler (handle).
6869* ``ierror ``: Fortran only: Error status (integer).
6970
7071DESCRIPTION
7172-----------
7273
73- Registers the user routine *function * for use as an MPI error handler.
74- Returns in errhandler a handle to the registered error handler.
74+ :ref: `MPI_Comm_create_errhandler ` creates an error handler that can be
75+ attached to file operations. In C, the
76+ user routine should be a ``function `` of type
77+ ``MPI_File_errhandler_function ``, which is defined as
7578
76- In the C language, the user routine *function * should be a C function of
77- type MPI_File_errhandler_function, which is defined as
78-
79- ::
79+ .. code-block :: c
8080
81- typedef void (MPI_File_errhandler_function)(MPI_File *, int *,
82- ...);
81+ typedef void (MPI_File_errhandler_function)(MPI_File *, int *, ...);
8382
84- The first argument to * function * is the file in use. The second is the
83+ The first argument is the file in use. The second is the
8584error code to be returned by the MPI routine that raised the error.
8685
8786In the Fortran language, the user routine should be of the form:
0 commit comments