#define fprintf(f,s,a) (glk_put_string_stream(f, a), 0)
#undef fputc
#define fputc(c, f) (glk_put_char_stream(f, (unsigned char)(c)), 0)
#define fprintf(f,s,a) (glk_put_string_stream(f, a), 0)
#undef fputc
#define fputc(c, f) (glk_put_char_stream(f, (unsigned char)(c)), 0)