printf.c
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:1k
- /*
- * Paradigm C/C++ Run-Time Library - Version 5.0
- *
- * Copyright (c) 1998 Paradigm Systems. All rights reserved.
- * Portions Copyright (c) 1996 Borland International.
- *
- * $Revision: 4 $
- * $Workfile: printf.c $
- *
- * function(s)
- * printf - send formatted output to stdout
- */
- #include "Config.h" // Global Configuration - do not remove!
- #include <stdio.h>
- #include "ServicesInclude_printf.h"
- #include "ServicesInclude_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.
- *---------------------------------------------------------------------*/
- #pragma codeseg _TEXT "CODE"
- int _RTLENTRY _FARFUNC printf(const char *fmt, ...)
- {
- return( __I49vprinter (fmt, (void _ss *) _va_ptr) );
- }