# control_sub_panes_RB_FIND

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L181
- **Page:** https://libtmux.org/en/tmux/3.2a/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/3.2a/reference/c-function-control-c-control_sub_pane_cmp/) (function)

## Referenced declarations

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