# alerts_check_bell

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

```c
static int alerts_check_bell(struct window *)
```

## Parameters

- `w` (`struct window *`)

## Called by

- [`alerts_check_all`](/en/tmux/3.7c/reference/c-function-alerts-c-alerts_check_all/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L96)

## Calls

- [`alerts_action_applies`](/en/tmux/3.7c/reference/c-function-alerts-c-alerts_action_applies/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L206)
- [`alerts_set_message`](/en/tmux/3.7c/reference/c-function-alerts-c-alerts_set_message/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L214)
- [`notify_winlink`](/en/tmux/3.7c/reference/c-function-notify_winlink/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L208)
- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L190)
- [`server_status_session`](/en/tmux/3.7c/reference/c-function-server_status_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L204)

## Referenced declarations

- [`session.attached`](/en/tmux/3.7c/reference/c-struct-session-attached/) (attribute)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`session.flags`](/en/tmux/3.7c/reference/c-struct-session-flags/) (attribute)
- [`window.flags`](/en/tmux/3.7c/reference/c-struct-window-flags/) (attribute)
- [`winlink.flags`](/en/tmux/3.7c/reference/c-struct-winlink-flags/) (attribute)
- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`winlink.session`](/en/tmux/3.7c/reference/c-struct-winlink-session/) (attribute)
- [`SESSION_ALERTED`](/en/tmux/3.7c/reference/c-define-tmux-h-session_alerted/) (constant)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
- [`WINDOW_BELL`](/en/tmux/3.7c/reference/c-define-tmux-h-window_bell/) (constant)
- [`WINLINK_BELL`](/en/tmux/3.7c/reference/c-define-tmux-h-winlink_bell/) (constant)
- [`window.winlinks`](/en/tmux/3.7c/reference/c-struct-window-winlinks/) (attribute)
