home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / EMXLIB8F.ZIP / EMX / LIB / IO / SCANF.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-02  |  335 b   |  17 lines

  1. /* scanf.c (emx+gcc) -- Copyright (c) 1990-1993 by Eberhard Mattes */
  2.  
  3. #include <sys/emx.h>
  4. #include <stdio.h>
  5. #include <stdarg.h>
  6.  
  7. int scanf (const char *format, ...)
  8. {
  9.   va_list arg_ptr;
  10.   int result;
  11.  
  12.   va_start (arg_ptr, format);
  13.   result = _input (stdin, format, arg_ptr);
  14.   va_end (arg_ptr);
  15.   return (result);
  16. }
  17.