print.h 656 B

12345678910111213141516171819202122232425
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #ifndef __PRINT_INCLUDED__
  7. #define __PRINT_INCLUDED__
  8. #include <ansi.h>
  9. #if __STDC__
  10. #include <stdarg.h>
  11. #else
  12. #include <varargs.h>
  13. #endif
  14. _PROTOTYPE(void print, (char *fmt, ...));
  15. _PROTOTYPE(void fprint, (File *f, char *fmt, ...));
  16. _PROTOTYPE(void doprnt, (File *f, char *fmt, va_list ap));
  17. _PROTOTYPE(int _format, (char *buf, char *fmt, va_list ap));
  18. _PROTOTYPE(char *sprint, (char *buf, char *fmt, ...));
  19. char *long2str(long val, int base);
  20. #endif /* __PRINT_INCLUDED__ */