# PetscErrorPrintf

Prints error messages. Not Collective

### Synopsis

    int (*PetscErrorPrintf)(const char format[],...);

### Input Parameters

format -the usual printf() format string

### Options Database Keys

-error_output_stderr -cause error messages to be printed to stderr instead of the (default) stdout

### Fortran Note

This routine is not supported in Fortran.

### See Also

PetscFPrintf(), PetscSynchronizedPrintf(), PetscHelpPrintf()

Level:developer
Location: include/petsc.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages