freebsd-skq/tools/regression/ccd/layout/a.c

17 lines
185 B
C
Raw Normal View History

/* $FreeBSD$ */
#include <unistd.h>
static uint32_t buf[512/4];
main()
{
u_int u = 0;
while (1) {
buf[0] = u++;
if (512 != write(1, buf, sizeof buf))
break;
}
exit (0);
}