Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / regress / lib / libc / ssp / read / read.c
blob77a301328577fb3de4807e243e652a353ba88464
1 #include <sys/param.h>
2 #include <stdio.h>
3 #include <unistd.h>
4 #include <stdlib.h>
6 int
7 main(int argc, char *argv[])
9 char b[MAXPATHLEN];
10 size_t len = atoi(argv[1]);
11 (void)read(0, b, len);
12 (void)printf("%s\n", b);
13 return 0;