~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/X11/tw_error.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)
  2 **/
  3 #include <stdio.h>
  4 #include <math.h>
  5 #include <tina/sys.h>
  6 #include <tina/sysfuncs.h>
  7 #include <X11/X.h>
  8 #include <X11/Xlib.h>
  9 
 10 
 11 /* ARGSUSED quieten lint */
 12 static int core_dump_error_handler(display, event)
 13 Display *display;
 14 XErrorEvent *event;
 15 {
 16     error("Tina Windows X error", core_dump);
 17     return ((Display *)NULL);
 18 }
 19 
 20 /* ARGSUSED quieten lint */
 21 void    tw_set_core_dump_on_error()
 22 {
 23     XSetErrorHandler(core_dump_error_handler);
 24 }
 25 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.