Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include <shell_api.h>
  2. #include <stdio.h>
  3.  
  4. void shell_printf(const char *format,...)
  5. {
  6.     va_list ap;
  7.     va_start (ap, format);
  8.     *__shell_shm=SHELL_PUTS;
  9.     vsnprintf(__shell_shm+1, SHELL_SHM_MAX, format, ap);
  10.     va_end(ap);
  11.     __SHELL_WAIT();
  12. }
  13.