1 /* $FreeBSD: stable/9/tools/regression/ccd/layout/a.c 109416 2003-01-17 12:23:44Z phk $ */ 2 #include <unistd.h> 3 4 static uint32_t buf[512/4]; main()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