10 expected
= "header 9999, hello, 005, ' 9'";
11 ust_safe_snprintf(buf
, 99, "header %d, %s, %03d, '%3$*d'", 9999, "hello", 5, 9);
12 if(strcmp(buf
, expected
) != 0) {
13 printf("Error: expected \"%s\" and got \"%s\"\n", expected
, buf
);
This page took 0.029728 seconds and 4 git commands to generate.