home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 387b.lha / dice_v2.02 / lib / stdio / printf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-30  |  296 b   |  24 lines

  1.  
  2. /*
  3.  *  PRINTF.C
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #include <stdarg.h>
  9. #include <stdio.h>
  10.  
  11. int
  12. printf(ctl)
  13. const char *ctl;
  14. {
  15.     int error;
  16.     va_list va;
  17.  
  18.     va_start(va, ctl);
  19.     error = _pfmt(ctl, va, fwrite, stdout);
  20.     va_end(va);
  21.     return(error);
  22. }
  23.  
  24.