Add doc/gsi.1 a minimal man page for gsi and gsc.
[gambit-c.git] / doc / x.c
bloba80f9dc4366b9a2b4404fdd5a384e905f281fa7a
1 #include <X11/Xlib.h>
3 static Display *display;
5 int x_initialize (char *display_name)
7 display = XOpenDisplay (display_name);
8 return display != NULL;
11 char *x_display_name (void)
13 return XDisplayName (NULL);
16 void x_bell (int volume)
18 XBell (display, volume);
19 XFlush (display);