summaryrefslogtreecommitdiffstats
path: root/tools/regression/ccd/layout/a.c
blob: 33eea10f2a3cdba430c60ed7363f3f4ed1ee80ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* $FreeBSD$ */
#include <unistd.h>

static uint32_t buf[512/4];
main()
{
	u_int u = 0;

	while (1) {
		buf[0] = u++;

		if (512 != write(1, buf, sizeof buf))
			break;
	}
	exit (0);
}
OpenPOWER on IntegriCloud