aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/ccd/layout/b.c
blob: 5b4ae8ed6a9e1ff878ac07ad24231d8542947770 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* $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);
}