# status_prompt_find_history_file

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L65
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-status-c-status_prompt_find_history_file/

```c
static char * status_prompt_find_history_file(void)
```

## Calls

- [`options_get_string`](/en/tmux/latest/reference/c-function-options_get_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L70)
- [`xasprintf`](/en/tmux/latest/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L80)
- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L74)

## Other function references

- [`find_home`](/en/tmux/latest/reference/c-function-find_home/) (function)

## Referenced by

- [`status_prompt_load_history`](/en/tmux/latest/reference/c-function-status_prompt_load_history/) (function)
- [`status_prompt_save_history`](/en/tmux/latest/reference/c-function-status_prompt_save_history/) (function)

## Referenced declarations

- [`global_options`](/en/tmux/latest/reference/c-variable-global_options/) (attribute)
- [`client.path`](/en/tmux/latest/reference/c-struct-client-path/) (attribute)
