home *** CD-ROM | disk | FTP | other *** search
- #ifndef _IMPRINTF_
- #define _IMPRINTF_
- /*******************************************************************************
- * FILE NAME: imprintf.h *
- * *
- * DESCRIPTION: *
- * Declaration of the functions: *
- * imprintf *
- * *
- * COPYRIGHT: *
- * IBM Open Class Library *
- * (C) Copyright International Business Machines Corporation 1992, 1996 *
- * Licensed Material - Program-Property of IBM - All Rights Reserved. *
- * US Government Users Restricted Rights - Use, duplication, or disclosure *
- * restricted by GSA ADP Schedule Contract with IBM Corp. *
- * *
- *******************************************************************************/
-
- #include <ibase.hpp>
-
- // Define a macro to convert all occurrences of the "printf" library
- // call name to call the internal program. This is required do the
- // the problem of duplicate symbol definition errors from the linker.
- // #define printf imprintf
-
- // Here's the prototype for the internal "printf" work-a-like function
- // int _cdecl imprintf(const char *,...);
- extern "C" int imprintf(const char *,...);
-
- #define IC_PRINTFMAXLEN 1024
-
- #endif
-