*/
int
-cl_commander::dd_printf(char *format, ...)
+cl_commander::dd_printf(char *format, va_list ap)
{
- va_list ap;
int ret= 0;
class cl_console *con;
}
if (con)
{
- va_start(ap, format);
ret= con->cmd_do_print(format, ap);
- va_end(ap);
}
return(ret);
}
+int
+cl_commander::dd_printf(char *format, ...)
+{
+ va_list ap;
+ int ret= 0;
+
+ va_start(ap, format);
+ ret= dd_printf(format, ap);
+ va_end(ap);
+
+ return(ret);
+}
+
/*
* Printing to consoles which have CONS_DEBUG flag set
*/
void set_fd_set(void);
void prompt(void);
- int all_printf(char *format, ...); // print to all consoles
- int dd_printf(char *format, ...); // print to actual_console
- int debug(char *format, ...); // print consoles with debug flag set
- int debug(char *format, va_list ap); // print consoles with debug flag set
+ int all_printf(char *format, ...); // print to all consoles
+ int dd_printf(char *format, va_list ap); // print to actual_console
+ int dd_printf(char *format, ...); // print to actual_console
+ int debug(char *format, ...); // print consoles with debug flag set
+ int debug(char *format, va_list ap); // print consoles with debug flag set
int flag_printf(int iflags, char *format, ...);
int input_avail(void);
int input_avail_on_frozen(void);