# wait_channel_cmp

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

```c
static int wait_channel_cmp(struct wait_channel *, struct wait_channel *)
```

## Parameters

- `wc1` (`struct wait_channel *`)
- `wc2` (`struct wait_channel *`)

## Referenced by

- [`wait_channels_RB_FIND`](/en/tmux/latest/reference/c-function-cmd-wait-for-c-wait_channels_rb_find/) (function)

## Referenced declarations

- [`wait_channel.name`](/en/tmux/latest/reference/c-struct-wait_channel-name/) (attribute)
- [`wait_channel`](/en/tmux/latest/reference/c-struct-wait_channel/) (struct)
