MPI_Win_get_errhandler

int MPI_Win_get_errhandler(MPI_Win, MPI_Errhandler *);
Retrieves the error handler currently associated with a window.