# wait_channels_RB_FIND

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L63
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-wait-for-c-wait_channels_rb_find/

```c
static struct wait_channel * wait_channels_RB_FIND(struct wait_channels *head, struct wait_channel *elm)
```

## Parameters

- `head` (`struct wait_channels *`)
- `elm` (`struct wait_channel *`)

## Other function references

- [`wait_channel_cmp`](/en/tmux/3.7c/reference/c-function-cmd-wait-for-c-wait_channel_cmp/) (function)

## Referenced declarations

- [`wait_channel`](/en/tmux/3.7c/reference/c-struct-wait_channel/) (struct)
- [`wait_channels`](/en/tmux/3.7c/reference/c-struct-wait_channels/) (struct)
