# cmd_link_window_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-move-window.c#L45
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-cmd_link_window_entry/

tmux command: [`link-window`](/en/tmux/3.7c/manual/link-window/)

```c
const struct cmd_entry cmd_link_window_entry = {
    .name = "link-window",
    .alias = "linkw",

    .args = { "abdks:t:", 0, 0, NULL },
    .usage = "[-abdk] " "[-s src-window] [-t dst-window]" ,

    .source = { 's', CMD_FIND_WINDOW, 0 },
    

    .flags = 0,
    .exec = cmd_move_window_exec
};
```

## Other function references

- [`cmd_move_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-move-window-c-cmd_move_window_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.7c/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/3.7c/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_WINDOW`](/en/tmux/3.7c/reference/c-enum-cmd_find_type-cmd_find_window/) (constant)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
