-#ifdef SERGEEV
#define _GNU_SOURCE
-#endif /* SERGEEV */
#include <stdio.h>
-#ifdef SERGEEV
#include <unistd.h>
-#endif /* SERGEEV */
#include <termios.h>
#include <curses.h>
#include <signal.h>
#include <ctype.h>
#include <stdarg.h>
-#ifdef SERGEEV
-#include <conio.h>
-#endif /* SERGEEV */
-#ifdef MSDOS
-#include <dos.h>
-#endif
-#include <time.h>
-#ifdef SERGEEV
+#include "conio.h"
#include "sstlinux.h"
-#endif /* SERGEEV */
#include "sst.h"
#ifndef SERGEEV
#endif /* SERGEEV */
}
-void getline(char *line, int max) {
+void cgetline(char *line, int max) {
if (curses) {
#ifndef SERGEEV
wgetnstr(stdscr, line, max);
void ioend(void);
void setwnd(short);
void warble(void);
-void getline(char *, int);
+void cgetline(char *, int);
void waitfor(void);
void setpassword(void);
void commandhook(char *, int);
+void c_printf (char *format, ... );
typedef struct {
int wndleft,wndtop,wndright,wndbottom;