#include <stdio.h>
main ()
{
unsigned long foo = 42;
char buf[50];
snprintf (buf, sizeof buf, "->%lu<-", 42);
if (strcmp (buf, "->42<-"))
{
fputs ("snprintf is broken\n", stderr);
return 1;
}
return 0;
}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

