Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
  2. #include <stdio.h>
  3. #include <libc/file.h>
  4.  
  5. int
  6. printf(const char *fmt, ...)
  7. {
  8.   int len;
  9.   va_list va;
  10.   va_start(va, fmt);
  11.  
  12.   len = _doprnt(fmt, va, stdout);
  13.   va_end(va);
  14.   return ferror(stdout) ? EOF : len;
  15. }
  16.