# name_time_expired

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

```c
static int name_time_expired(struct window *, struct timeval *)
```

## Parameters

- `w` (`struct window *`)
- `tv` (`struct timeval *`)

## Called by

- [`check_window_name`](/en/tmux/3.7c/reference/c-function-check_window_name/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/names.c#L73)

## Referenced declarations

- [`NAME_INTERVAL`](/en/tmux/3.7c/reference/c-define-tmux-h-name_interval/) (constant)
- [`window.name_time`](/en/tmux/3.7c/reference/c-struct-window-name_time/) (attribute)
- [`timersub`](/en/tmux/3.7c/reference/c-define-compat-h-timersub/) (constant)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
