# control_sub_panes_RB_FIND

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

```c
static struct control_sub_pane * control_sub_panes_RB_FIND(struct control_sub_panes *head, struct control_sub_pane *elm)
```

## Parameters

- `head` (`struct control_sub_panes *`)
- `elm` (`struct control_sub_pane *`)

## Other function references

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

## Referenced declarations

- [`control_sub_pane`](/en/tmux/latest/reference/c-struct-control_sub_pane/) (struct)
- [`control_sub_panes`](/en/tmux/latest/reference/c-struct-control_sub_panes/) (struct)
