source: trunk/src/win32k/include/sprintf.h@ 847

Last change on this file since 847 was 847, checked in by bird, 26 years ago

Initial checkin of Win32k. (not tested & pe2lx not up-to-date!)

File size: 663 bytes
Line 
1/* $Id: sprintf.h,v 1.1 1999-09-06 02:19:59 bird Exp $
2 *
3 * sprintf/vsprintf header file.
4 *
5 * Copyright (c) 1999 knut st. osmundsen
6 *
7 */
8
9#ifndef _sprintf_h_
10#define _sprintf_h_
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#ifndef va_arg
17 #error "must include stdarg.h"
18#endif
19
20
21/*
22 * Function prototypes
23 */
24int sprintf(char *pszBuffer, const char *pszFormat, ...);
25int vsprintf(char *pszBuffer, const char *pszFormat, va_list args);
26
27/*
28 * va_start have to be redeclared. Compiler don't accept SSToDS() as va_start argument.
29 */
30#undef va_start
31#define va_start(ap, last) ap = ((va_list)SSToDS(&last)) + __nextword(last)
32
33#ifdef __cplusplus
34}
35#endif
36#endif
Note: See TracBrowser for help on using the repository browser.