# winlink_previous_by_number

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

```c
struct winlink * winlink_previous_by_number(struct winlink *wl, struct session *s, int n)
```

## Parameters

- `wl` (`struct winlink *`)
- `s` (`struct session *`)
- `n` (`int`)

## Called by

- [`cmd_find_get_window_with_session`](/en/tmux/3.2a/reference/c-function-cmd-find-c-cmd_find_get_window_with_session/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-find.c#L395)

## Referenced by

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

## Referenced declarations

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