#include <string.h>
#include "conio.h"
#include "sstlinux.h"
-#ifndef SERGEEV
+
+#ifdef SERGEEV
+int c_printf (char *format, ... )
+{
+ char buffer[BUFSIZ]; /* Well, BUFSIZ is from ncurses... */
+ va_list argp;
+ va_start(argp,format);
+ vsprintf(buffer,format,argp);
+ va_end(argp);
+ return waddstr(conio_scr,buffer);
+}
+#else
#define c_printf proutn
#endif /* SERGEEV */