# proc_set_signals

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

```c
void proc_set_signals(struct tmuxproc *tp, void(*signalcb)(int))
```

## Parameters

- `tp` (`struct tmuxproc *`)
- `signalcb` (`void(*)(int)`)

## Called by

- [`client_main`](/en/tmux/3.7c/reference/c-function-client_main/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L277)
- [`server_start`](/en/tmux/3.7c/reference/c-function-server_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L201)

## Other function references

- [`proc_signal_cb`](/en/tmux/3.7c/reference/c-function-proc-c-proc_signal_cb/) (function)

## Referenced declarations

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