# cmd_unlink_window_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-kill-window.c#L42
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-variable-cmd_unlink_window_entry/

tmux command: [`unlink-window`](/en/tmux/latest/manual/unlink-window/)

```c
const struct cmd_entry cmd_unlink_window_entry = {
    .name = "unlink-window",
    .alias = "unlinkw",

    .args = { "kt:", 0, 0, NULL },
    .usage = "[-k] " "[-t target-window]" ,

    .target = { 't', CMD_FIND_WINDOW, 0 },

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

## Other function references

- [`cmd_kill_window_exec`](/en/tmux/latest/reference/c-function-cmd-kill-window-c-cmd_kill_window_exec/) (function)

## Referenced by

- [`cmd_kill_window_exec`](/en/tmux/latest/reference/c-function-cmd-kill-window-c-cmd_kill_window_exec/) (function)

## Referenced declarations

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