# winlink_cmp

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L84
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-winlink_cmp/

```c
int winlink_cmp(struct winlink *wl1, struct winlink *wl2)
```

## Parameters

- `wl1` (`struct winlink *`)
- `wl2` (`struct winlink *`)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)
- [`winlinks_RB_FIND`](/en/tmux/3.2a/reference/c-function-winlinks_rb_find/) (function)

## Referenced declarations

- [`winlink.idx`](/en/tmux/3.2a/reference/c-struct-winlink-idx/) (attribute)
- [`winlink`](/en/tmux/3.2a/reference/c-struct-winlink/) (struct)
