# proc_clear_signals

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/proc.c#L278
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-proc_clear_signals/

```c
void proc_clear_signals(struct tmuxproc *tp, int defaults)
```

## Parameters

- `tp` (`struct tmuxproc *`)
- `defaults` (`int`)

## Called by

- [`client_exec`](/en/tmux/latest/reference/c-function-client-c-client_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L507)
- [`cmd_pipe_pane_exec`](/en/tmux/latest/reference/c-function-cmd-pipe-pane-c-cmd_pipe_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-pipe-pane.c#L137)
- [`job_run`](/en/tmux/latest/reference/c-function-job_run/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/job.c#L139)
- [`server_start`](/en/tmux/latest/reference/c-function-server_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L194)
- [`spawn_pane`](/en/tmux/latest/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L453)

## Referenced declarations

- [`tmuxproc.ev_sigchld`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sigchld/) (attribute)
- [`tmuxproc.ev_sigcont`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sigcont/) (attribute)
- [`tmuxproc.ev_sighup`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sighup/) (attribute)
- [`tmuxproc.ev_sigint`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sigint/) (attribute)
- [`tmuxproc.ev_sigterm`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sigterm/) (attribute)
- [`tmuxproc.ev_sigusr1`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sigusr1/) (attribute)
- [`tmuxproc.ev_sigusr2`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sigusr2/) (attribute)
- [`tmuxproc.ev_sigwinch`](/en/tmux/latest/reference/c-struct-tmuxproc-ev_sigwinch/) (attribute)
- [`tmuxproc`](/en/tmux/latest/reference/c-struct-tmuxproc/) (struct)
