]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - tools/regression/ccd/layout/b.c
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / tools / regression / ccd / layout / b.c
1 /* $FreeBSD$ */
2
3 #include <unistd.h>
4 #include <fcntl.h>
5
6 static uint32_t buf[512/4];
7 main()
8 {
9         u_int u = 0;
10
11         while (1) {
12
13                 if (512 != read(0, buf, sizeof buf))
14                         break;
15
16                 printf("%u %u\n", u++, buf[0]);
17         }
18         exit (0);
19 }