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