/* The glk_main() function is called by the Glk system; it's the main entry
point for your program. */
void glk_main(void)
/* The glk_main() function is called by the Glk system; it's the main entry
point for your program. */
void glk_main(void)
/* Open the main window. */
mainwin = glk_window_open(0, 0, 0, wintype_TextBuffer, 1);
if (!mainwin) {
/* Open the main window. */
mainwin = glk_window_open(0, 0, 0, wintype_TextBuffer, 1);
if (!mainwin) {