# sessions_RB_REMOVE

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L48
- **Page:** https://libtmux.org/en/tmux/3.2a/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.2a/reference/c-struct-session/) (struct)
- [`sessions`](/en/tmux/3.2a/reference/c-struct-sessions/) (struct)
