GL_WRITE_FN
static GL_WRITE_FN(gl_flush_terminal)
GL_WRITE_FN(_io_write_stdio)
#define GL_WRITE_FN(fn) int (fn)(void *data, const char *s, int n)