home *** CD-ROM | disk | FTP | other *** search
- /*-----------------------------------------------------------------------*
- * filename - printf.c
- *
- * function(s)
- * printf - send formatted output to stdout
- *-----------------------------------------------------------------------*/
-
- /*[]------------------------------------------------------------[]*/
- /*| |*/
- /*| Turbo C Run Time Library - Version 3.0 |*/
- /*| |*/
- /*| |*/
- /*| Copyright (c) 1987,1988,1990 by Borland International |*/
- /*| All Rights Reserved. |*/
- /*| |*/
- /*[]------------------------------------------------------------[]*/
-
- #include <stdio.h>
- #include <_printf.h>
- #include <_stdio.h>
-
- /*---------------------------------------------------------------------*
-
- Name printf - send formatted output to stdout
-
- Usage int printf(const char *format, ...);
-
- Prototype in stdio.h
-
- Description sends formatted output to stdout
-
- Return value the number of bytes output. In the event of an
- error, printf returns EOF.
-
- *---------------------------------------------------------------------*/
- int cdecl printf(const char *fmt, ...)
- {
- return( __vprinter ((putnF *)__fputn, stdout, fmt, (void _ss *) _va_ptr) );
- }
-
-