/*D
   MPIX_File_create_errhandler_x - Creates an MPI-style file errorhandler with an extra_state

Synopsis:
.vb
int MPIX_File_create_errhandler_x(MPIX_File_errhandler_function_x *comm_errhandler_fn_x,
                                  MPIX_Destructor_function *destructor_fn,
                                  void *extra_state,
                                  MPI_Errhandler *errhandler)
.ve

Input Parameters:
+ comm_errhandler_fn_x - user defined error handling procedure with extra_state (function)
. destructor_fn - callback when op is freed (function)
- extra_state - extra state (None)

Output Parameters:
. errhandler - MPI error handler (handle)

.N ThreadSafe

.N Fortran

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

D*/

