#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <wchar.h>
#include "local.h"
#include "fvwrite.h"
done:
FLUSH();
error:
- va_end(orgap);
if (__sferror(fp))
ret = -1;
goto finish;
ret = -1;
finish:
+ va_end(orgap);
#ifdef FLOATING_POINT
if (dtoaresult)
__freedtoa(dtoaresult);
return (0);
}
-
+
#ifdef FLOATING_POINT
static int
exponent(char *p0, int exp, int fmtch)