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