MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / Fatal_Error

Function Fatal_Error

diags/dsimple.c:98–109  ·  view source on GitHub ↗

* Standard fatal error routine - call like printf but maximum of 7 arguments. * Does not require dpy or screen defined. */

Source from the content-addressed store, hash-verified

96 * Does not require dpy or screen defined.
97 */
98void Fatal_Error(char *msg, ...)
99{
100 va_list args;
101 fflush(stdout);
102 fflush(stderr);
103 fprintf(stderr, "%s: error: ", program_name);
104 va_start(args, msg);
105 vfprintf(stderr, msg, args);
106 va_end(args);
107 fprintf(stderr, "\n");
108 exit(1);
109}

Callers 1

Select_WindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected