# cmd_wait_for_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L33
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-cmd_wait_for_entry/

tmux command: [`wait-for`](/en/tmux/3.7c/manual/wait-for/)

```c
const struct cmd_entry cmd_wait_for_entry = {
    .name = "wait-for",
    .alias = "wait",

    .args = { "LSU", 1, 1, NULL },
    .usage = "[-L|-S|-U] channel",

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

## Other function references

- [`cmd_wait_for_exec`](/en/tmux/3.7c/reference/c-function-cmd-wait-for-c-cmd_wait_for_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)
