home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / languages / progs / shell / h / Printf < prev    next >
Encoding:
Text File  |  1994-05-04  |  780 b   |  21 lines

  1. #ifndef __Shell_Printf_h
  2. #define __Shell_Printf_h
  3.  
  4. void    Shell_Printf( const char *fmt, ...);
  5.     /* This can be used exactly like printf. It outputs to    */
  6.     /* Shell_'s default text window. i.e. it just does a     */
  7.     /* Shell_TextRectPrintf( NULL, ...)            */
  8.     /* You could do a '#define printf Shell_Printf' to make    */
  9.     /* all text go to the shell window.            */
  10.  
  11. void    Shell_WaitPrintf( const char *fmt, ...);
  12.     /* This stores the text, and registers an event_NULL handler to print the text    */
  13.     /* on the next event_NULL. This allows you to call this function from within    */
  14.     /* a window-redraw function and output diagnostic info. Normally the Wimp calls    */
  15.     /* which Shell_TextRectPrint uses would confuse the Wimp if they were called in    */
  16.     /* the middle of a redraw.                            */
  17.  
  18.  
  19. #endif
  20.  
  21.