mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1917 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7171085c19
commit
f14b16abd3
1 changed files with 10 additions and 0 deletions
10
config/config.vsprintf.c
Normal file
10
config/config.vsprintf.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* 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);
|
||||
}
|
Loading…
Reference in a new issue