mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 17:10:48 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1917 72102866-910b-0410-8b05-ffd578937521
10 lines
232 B
C
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);
|
|
}
|