# window_find_by_id_str

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L267
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window_find_by_id_str/

```c
struct window * window_find_by_id_str(const char *s)
```

## Parameters

- `s` (`const char *`)

## Called by

- [`cmd_find_get_window`](/en/tmux/3.2a/reference/c-function-cmd-find-c-cmd_find_get_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L318)
- [`cmd_find_get_window_with_session`](/en/tmux/3.2a/reference/c-function-cmd-find-c-cmd_find_get_window_with_session/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L367)

## Calls

- [`strtonum`](/en/tmux/3.2a/reference/c-function-strtonum/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L275)
- [`window_find_by_id`](/en/tmux/3.2a/reference/c-function-window_find_by_id/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L278)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`window.id`](/en/tmux/3.2a/reference/c-struct-window-id/) (attribute)
- [`window`](/en/tmux/3.2a/reference/c-struct-window/) (struct)
