3 |
implementations of stdio; newer ones should already have vsprintf. |
implementations of stdio; newer ones should already have vsprintf. |
4 |
Written by Per Bothner of Cygnus Support. |
Written by Per Bothner of Cygnus Support. |
5 |
Based on libg++'s "form" (written by Doug Lea; dl@rocky.oswego.edu). |
Based on libg++'s "form" (written by Doug Lea; dl@rocky.oswego.edu). |
6 |
Copyright (C) 1991, 1995 Free Software Foundation, Inc. |
Copyright (C) 1991, 1995, 2002 Free Software Foundation, Inc. |
7 |
|
|
8 |
This file is part of the libiberty library. This library is free |
This file is part of the libiberty library. This library is free |
9 |
software; you can redistribute it and/or modify it under the |
software; you can redistribute it and/or modify it under the |
26 |
This exception does not however invalidate any other reasons why |
This exception does not however invalidate any other reasons why |
27 |
the executable file might be covered by the GNU General Public License. */ |
the executable file might be covered by the GNU General Public License. */ |
28 |
|
|
29 |
|
#include <ansidecl.h> |
30 |
|
#ifdef ANSI_PROTOTYPES |
31 |
|
#include <stdarg.h> |
32 |
|
#else |
33 |
#include <varargs.h> |
#include <varargs.h> |
34 |
|
#endif |
35 |
#include <stdio.h> |
#include <stdio.h> |
|
#include <ansidecl.h> |
|
36 |
#undef vsprintf |
#undef vsprintf |
37 |
|
|
38 |
|
#if defined _IOSTRG && defined _IOWRT |
39 |
|
|
40 |
int |
int |
41 |
vsprintf (buf, format, ap) |
vsprintf (buf, format, ap) |
42 |
char *buf; |
char *buf; |
59 |
return ret; |
return ret; |
60 |
|
|
61 |
} |
} |
62 |
|
|
63 |
|
#endif |