# sessions_RB_REMOVE

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

```c
struct session * sessions_RB_REMOVE(struct sessions *head, struct session *elm)
```

## Parameters

- `head` (`struct sessions *`)
- `elm` (`struct session *`)

## Referenced declarations

- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
- [`sessions`](/en/tmux/3.7c/reference/c-struct-sessions/) (struct)
