xref: /freebsd/tools/regression/ccd/layout/a.c (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
1 /* $FreeBSD$ */
2 #include <unistd.h>
3 
4 static uint32_t buf[512/4];
5 main()
6 {
7 	u_int u = 0;
8 
9 	while (1) {
10 		buf[0] = u++;
11 
12 		if (512 != write(1, buf, sizeof buf))
13 			break;
14 	}
15 	exit (0);
16 }
17