1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/tools/regression/ccd/layout/b.c
2003-01-17 12:23:44 +00:00

20 lines
223 B
C

/* $FreeBSD$ */
#include <unistd.h>
#include <fcntl.h>
static uint32_t buf[512/4];
main()
{
u_int u = 0;
while (1) {
if (512 != read(0, buf, sizeof buf))
break;
printf("%u %u\n", u++, buf[0]);
}
exit (0);
}