snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen

This commit is contained in:
Gregory Nutt 2014-05-30 08:53:55 -06:00
parent 35b94281af
commit 5ff8c449e2

View File

@ -61,4 +61,3 @@ int hello_main(int argc, char *argv[])
printf("Hello, World!!\n");
return 0;
}