12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #include <stdio.h>
- #include "zend.h"
- #ifdef HAVE_STDARG_H
- # include <stdarg.h>
- #endif
- #if ZEND_BROKEN_SPRINTF
- int zend_sprintf(char *buffer, const char *format, ...)
- {
- va_list args;
- va_start(args, format);
- vsprintf(buffer, format, args);
- va_end(args);
- return strlen(buffer);
- }
- #endif
|