Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.0 KiB

  1. /*****************************************************************************
  2. *
  3. * RPRINTF.C RLF 06/15/89
  4. *
  5. * CONTENTS rprintf limited re-entrant version of printf
  6. * rsprintf limited re-entrant version of sprintf
  7. * _sprintf routine which does the work
  8. *
  9. * NOTES Tab Stops = 4
  10. *
  11. * $Log: T:/pvcs/h/rprintf.h_v $
  12. *
  13. * Rev 1.1 29 Oct 1989 11:50:16 Richard Firth
  14. * Added defines for PRINTF and SPRINTF to allow easy modification when MS gets
  15. * the real thing working for multi-threaded programs
  16. *
  17. * Rev 1.0 29 Aug 1989 20:04:40 RICHARDF
  18. * Initial revision.
  19. *
  20. ****************************************************************************/
  21. #ifdef UNUSED
  22. // UNUSED - causes unneed crt bloat
  23. int cdecl rprintf(char*, ...);
  24. #endif
  25. int cdecl rsprintf(char*, char*, ...);
  26. int cdecl _sprintf(char*, char*, va_list);
  27. #define SPRINTF rsprintf
  28. #define PRINTF rprintf
  29. //#define rsprintf wsprintf
  30. //#define _sprintf wsprintf
  31. #define RPRINTF_INCLUDED