Don't use .Xo/.Xc. Fix date format.
[netbsd-mini2440.git] / regress / lib / libc / ssp / snprintf / snprintf.c
blob77bb03566dd1193794a5e9555012ac3dda4bf4c3
1 #include <stdio.h>
2 #include <stdlib.h>
4 int
5 main(int argc, char *argv[])
7 char b[10];
8 size_t len = atoi(argv[1]);
9 (void)snprintf(b, len, "%s", "0123456789");
10 (void)printf("%s\n", b);
11 return 0;