# PetscSignalHandlerDefault
Default signal handler. 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscSignalHandlerDefault(int sig, void *ptr)
```
Not Collective


## Input Parameters

- ***sig -*** signal value
- ***ptr -*** unused pointer



## Developer Note
This does not call `PetscError()`, handles the entire error process directly




## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/error/signal.c.html#PetscSignalHandlerDefault">src/sys/error/signal.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/error/signal.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
