diff options
Diffstat (limited to 'tools/regression/ccd/layout/a.c')
-rw-r--r-- | tools/regression/ccd/layout/a.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/regression/ccd/layout/a.c b/tools/regression/ccd/layout/a.c new file mode 100644 index 0000000..33eea10 --- /dev/null +++ b/tools/regression/ccd/layout/a.c @@ -0,0 +1,16 @@ +/* $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); +} |