# session_group_synchronize_to

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L595
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-session_group_synchronize_to/

```c
void session_group_synchronize_to(struct session *s)
```

## Parameters

- `s` (`struct session *`)

## Called by

- [`cmd_new_session_exec`](/en/tmux/latest/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-new-session.c#L325)

## Calls

- [`session_group_synchronize1`](/en/tmux/latest/reference/c-function-session-c-session_group_synchronize1/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L609)

## Other function references

- [`session_group_contains`](/en/tmux/latest/reference/c-function-session_group_contains/) (function)

## Referenced declarations

- [`session.gentry`](/en/tmux/latest/reference/c-struct-session-gentry/) (attribute)
- [`session`](/en/tmux/latest/reference/c-struct-session/) (struct)
- [`session_group.sessions`](/en/tmux/latest/reference/c-struct-session_group-sessions/) (attribute)
