Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / regress / lib / libc / ssp / raw / raw.c
blob30c369449c29ae7846402211e59efc4dcf6c4099
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
5 static void raw(char *, size_t);
7 static void
8 raw(char *b, size_t len) {
9 b[len] = '\0';
12 int
13 main(int argc, char *argv[])
15 char b[10];
16 size_t len = atoi(argv[1]);
18 (void)strncpy(b, "0000000000", sizeof(b));
19 raw(b, len);
20 (void)printf("%s\n", b);
21 return 0;