# fatalx

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

```c
void fatalx(const char *msg,...)
```

## Parameters

- `msg` (`const char *`)
- `` (`...`)

## Called by

- [`args_make_commands`](/en/tmux/latest/reference/c-function-args_make_commands/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L843)
- [`args_make_commands_prepare`](/en/tmux/latest/reference/c-function-args_make_commands_prepare/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L784)
- [`args_parse`](/en/tmux/latest/reference/c-function-args_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L291)
- [`args_value_as_string`](/en/tmux/latest/reference/c-function-arguments-c-args_value_as_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/arguments.c#L131)
- [`client_dispatch_attached`](/en/tmux/latest/reference/c-function-client-c-client_dispatch_attached/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L739)
- [`client_dispatch_exit_message`](/en/tmux/latest/reference/c-function-client-c-client_dispatch_exit_message/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L608)
- [`client_dispatch_wait`](/en/tmux/latest/reference/c-function-client-c-client_dispatch_wait/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/client.c#L661)
- [`cmd_display_message_exec`](/en/tmux/latest/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-message.c#L150)
- [`cmd_display_panes_draw_pane`](/en/tmux/latest/reference/c-function-cmd-display-panes-c-cmd_display_panes_draw_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-panes.c#L144)
- [`cmd_find_target`](/en/tmux/latest/reference/c-function-cmd_find_target/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L988)
- [`cmd_pipe_pane_exec`](/en/tmux/latest/reference/c-function-cmd-pipe-pane-c-cmd_pipe_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-pipe-pane.c#L182)
- [`cmd_save_buffer_exec`](/en/tmux/latest/reference/c-function-cmd-save-buffer-c-cmd_save_buffer_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-save-buffer.c#L102)
- [`cmdq_free`](/en/tmux/latest/reference/c-function-cmdq_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L139)
- [`cmdq_print`](/en/tmux/latest/reference/c-function-cmdq_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L851)
- [`control_append_data`](/en/tmux/latest/reference/c-function-control-c-control_append_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L625)
- [`control_start`](/en/tmux/latest/reference/c-function-control_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control.c#L791)
- [`file_create_with_client`](/en/tmux/latest/reference/c-function-file_create_with_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/file.c#L121)
- [`file_create_with_peer`](/en/tmux/latest/reference/c-function-file_create_with_peer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/file.c#L92)
- [`file_read_cancel`](/en/tmux/latest/reference/c-function-file_read_cancel/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/file.c#L801)
- [`file_read_open`](/en/tmux/latest/reference/c-function-file_read_open/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/file.c#L743)
- [`file_write_close`](/en/tmux/latest/reference/c-function-file_write_close/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/file.c#L660)
- [`file_write_data`](/en/tmux/latest/reference/c-function-file_write_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/file.c#L641)
- [`file_write_open`](/en/tmux/latest/reference/c-function-file_write_open/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/file.c#L582)
- [`format_cb_pane_tabs`](/en/tmux/latest/reference/c-function-format-c-format_cb_pane_tabs/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L997)
- [`format_cb_session_attached_list`](/en/tmux/latest/reference/c-function-format-c-format_cb_session_attached_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L564)
- [`format_cb_session_group_attached_list`](/en/tmux/latest/reference/c-function-format-c-format_cb_session_group_attached_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1115)
- [`format_cb_session_group_list`](/en/tmux/latest/reference/c-function-format-c-format_cb_session_group_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1082)
- [`format_cb_window_active_clients_list`](/en/tmux/latest/reference/c-function-format-c-format_cb_window_active_clients_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L817)
- [`format_cb_window_active_sessions_list`](/en/tmux/latest/reference/c-function-format-c-format_cb_window_active_sessions_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L757)
- [`format_cb_window_linked_sessions_list`](/en/tmux/latest/reference/c-function-format-c-format_cb_window_linked_sessions_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L705)
- [`grid_extended_cell`](/en/tmux/latest/reference/c-function-grid-c-grid_extended_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L126)
- [`input_init`](/en/tmux/latest/reference/c-function-input_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L876)
- [`input_parse`](/en/tmux/latest/reference/c-function-input-c-input_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L980)
- [`job_run`](/en/tmux/latest/reference/c-function-job_run/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/job.c#L228)
- [`key_bindings_init`](/en/tmux/latest/reference/c-function-key_bindings_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/key-bindings.c#L675)
- [`layout_count_cells`](/en/tmux/latest/reference/c-function-layout_count_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L427)
- [`layout_fix_zindexes`](/en/tmux/latest/reference/c-function-layout_fix_zindexes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L239)
- [`layout_make_node`](/en/tmux/latest/reference/c-function-layout_make_node/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L210)
- [`layout_split_pane`](/en/tmux/latest/reference/c-function-layout_split_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1040)
- [`options_default_to_string`](/en/tmux/latest/reference/c-function-options_default_to_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L326)
- [`options_get_command`](/en/tmux/latest/reference/c-function-options_get_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L759)
- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L746)
- [`options_get_string`](/en/tmux/latest/reference/c-function-options_get_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L733)
- [`options_parent_table_entry`](/en/tmux/latest/reference/c-function-options-c-options_parent_table_entry/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L116)
- [`options_set_command`](/en/tmux/latest/reference/c-function-options_set_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L833)
- [`options_set_number`](/en/tmux/latest/reference/c-function-options_set_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L811)
- [`options_set_string`](/en/tmux/latest/reference/c-function-options_set_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L798)
- [`options_value_to_string`](/en/tmux/latest/reference/c-function-options-c-options_value_to_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L161)
- [`popup_check_cb`](/en/tmux/latest/reference/c-function-popup-c-popup_check_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L252)
- [`screen_resize_y`](/en/tmux/latest/reference/c-function-screen-c-screen_resize_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L400)
- [`screen_write_collect_flush_line`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_collect_flush_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L2201)
- [`server_start`](/en/tmux/latest/reference/c-function-server_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server.c#L198)
- [`session_next_session`](/en/tmux/latest/reference/c-function-session_next_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L291)
- [`session_previous_session`](/en/tmux/latest/reference/c-function-session_previous_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L314)
- [`status_redraw`](/en/tmux/latest/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L375)
- [`tty_clamp_area`](/en/tmux/latest/reference/c-function-tty-c-tty_clamp_area/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1284)
- [`tty_clamp_line`](/en/tmux/latest/reference/c-function-tty-c-tty_clamp_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1168)
- [`tty_draw_line`](/en/tmux/latest/reference/c-function-tty_draw_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-draw.c#L211)
- [`tty_term_flag`](/en/tmux/latest/reference/c-function-tty_term_flag/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L902)
- [`tty_term_number`](/en/tmux/latest/reference/c-function-tty_term_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L892)
- [`tty_term_read_list`](/en/tmux/latest/reference/c-function-tty_term_read_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L749)
- [`tty_term_string`](/en/tmux/latest/reference/c-function-tty_term_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L785)
- [`utf8_append`](/en/tmux/latest/reference/c-function-utf8_append/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8.c#L662)
- [`utf8_from_data`](/en/tmux/latest/reference/c-function-utf8_from_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8.c#L470)
- [`window_copy_line_number_is_absolute`](/en/tmux/latest/reference/c-function-window-copy-c-window_copy_line_number_is_absolute/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4797)
- [`window_pane_set_event`](/en/tmux/latest/reference/c-function-window_pane_set_event/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1187)
- [`winlink_find_by_index`](/en/tmux/latest/reference/c-function-winlink_find_by_index/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L117)
- [`xcalloc`](/en/tmux/latest/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L46)
- [`xmalloc`](/en/tmux/latest/reference/c-function-xmalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L32)
- [`xreallocarray`](/en/tmux/latest/reference/c-function-xreallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L66)
- [`xrecallocarray`](/en/tmux/latest/reference/c-function-xrecallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L80)
- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L94)
- [`xstrndup`](/en/tmux/latest/reference/c-function-xstrndup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L104)
- [`xvasprintf`](/en/tmux/latest/reference/c-function-xvasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L129)
- [`xvsnprintf`](/en/tmux/latest/reference/c-function-xvsnprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/xmalloc.c#L153)

## Calls

- [`log_vwrite`](/en/tmux/latest/reference/c-function-log-c-log_vwrite/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/log.c#L162)
