libs-base/config/config.vsprintf.c
Andrew McCallum 15cff58634 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1917 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:40:28 +00:00

10 lines
232 B
C

/* Exit with status 0 if vsprintf returns the length of the string printed.
Some systems return a pointer to the string instead. */
int main ()
{
char buf[128];
if (vsprintf (buf, "1234") == 4)
exit (0);
exit (-1);
}