xref: /freebsd/tools/regression/ccd/layout/a.c (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
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