# session.id

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tmux.h#L1180
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-struct-session-id/

```c
u_int id;
```

## Referenced by

- [`cmd_find_log_state`](/en/tmux/3.2a/reference/c-function-cmd-find-c-cmd_find_log_state/) (function)
- [`control_check_subs_all_panes`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_all_panes/) (function)
- [`control_check_subs_all_windows`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_all_windows/) (function)
- [`control_check_subs_pane`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_pane/) (function)
- [`control_check_subs_session`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_session/) (function)
- [`control_check_subs_window`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_window/) (function)
- [`control_notify_client_session_changed`](/en/tmux/3.2a/reference/c-function-control_notify_client_session_changed/) (function)
- [`control_notify_session_renamed`](/en/tmux/3.2a/reference/c-function-control_notify_session_renamed/) (function)
- [`control_notify_session_window_changed`](/en/tmux/3.2a/reference/c-function-control_notify_session_window_changed/) (function)
- [`environ_for_session`](/en/tmux/3.2a/reference/c-function-environ_for_session/) (function)
- [`format_cb_session_id`](/en/tmux/3.2a/reference/c-function-format-c-format_cb_session_id/) (function)
- [`format_defaults`](/en/tmux/3.2a/reference/c-function-format_defaults/) (function)
- [`format_loop_sessions`](/en/tmux/3.2a/reference/c-function-format-c-format_loop_sessions/) (function)
- [`notify_hook_formats`](/en/tmux/3.2a/reference/c-function-notify-c-notify_hook_formats/) (function)
- [`server_client_check_mouse`](/en/tmux/3.2a/reference/c-function-server-client-c-server_client_check_mouse/) (function)
- [`session_create`](/en/tmux/3.2a/reference/c-function-session_create/) (function)
- [`session_find_by_id`](/en/tmux/3.2a/reference/c-function-session_find_by_id/) (function)
- [`session_find_by_id_str`](/en/tmux/3.2a/reference/c-function-session_find_by_id_str/) (function)
- [`session_update_activity`](/en/tmux/3.2a/reference/c-function-session_update_activity/) (function)
- [`spawn_log`](/en/tmux/3.2a/reference/c-function-spawn-c-spawn_log/) (function)
- [`status_prompt_complete_session`](/en/tmux/3.2a/reference/c-function-status-c-status_prompt_complete_session/) (function)
- [`window_tree_build_pane`](/en/tmux/3.2a/reference/c-function-window-tree-c-window_tree_build_pane/) (function)
- [`window_tree_build_session`](/en/tmux/3.2a/reference/c-function-window-tree-c-window_tree_build_session/) (function)
- [`window_tree_build_window`](/en/tmux/3.2a/reference/c-function-window-tree-c-window_tree_build_window/) (function)
- [`window_tree_cmp_session`](/en/tmux/3.2a/reference/c-function-window-tree-c-window_tree_cmp_session/) (function)
