as3525v1 use an as3515 audio codec/PMU, not an as3517 as previously thought
[kugel-rb.git] / firmware / test / snprintf / test.c
blob049be4d257c8c045292c5de4dd382b52ee381905
2 #include <stdio.h>
5 int main(int argc, char **argv)
7 char buffer[256];
8 snprintf(buffer, 5, "123456789");
9 printf("%s\n", buffer);
10 snprintf(buffer, 6, "123456789");
11 printf("%s\n", buffer);
12 snprintf(buffer, 7, "123456789");
13 printf("%s\n", buffer);
14 snprintf(buffer, 7, "123%s", "mooooooooooo");
15 printf("%s\n", buffer);