home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue6 / SDL.ZIP / !gcc / include / unixlib / sys / h / debug < prev    next >
Encoding:
Text File  |  2006-09-17  |  568 b   |  28 lines

  1. /* Functions for internally debugging UnixLib.
  2.    Copyright (c) 2004, 2005 UnixLib Developers.  */
  3.  
  4. #ifdef DEBUG
  5.  
  6. #ifndef __SYS_DEBUG_H
  7. #define __SYS_DEBUG_H
  8.  
  9. #ifndef __UNIXLIB_FEATURES_H
  10. #include <features.h>
  11. #endif
  12.  
  13. __BEGIN_DECLS
  14.  
  15. /* __debug(s) dumps UNIX status with title __s.  __s may be NULL when there
  16.    is no title to be printed.  */
  17. extern void __debug(const char *__s);
  18.  
  19. /* Works like the standard printf function but outputs using standard
  20.    RISC OS SWIs to the console.  */
  21. extern void debug_printf (const char *__fmt, ...);
  22.  
  23. __END_DECLS
  24.  
  25. #endif
  26.  
  27. #endif
  28.