# session_find_by_id_str

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

```c
struct session * session_find_by_id_str(const char *s)
```

## Parameters

- `s` (`const char *`)

## Called by

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

## Calls

- [`session_find_by_id`](/en/tmux/3.2a/reference/c-function-session_find_by_id/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L96)
- [`strtonum`](/en/tmux/3.2a/reference/c-function-strtonum/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L93)

## Referenced by

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

## Referenced declarations

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