Current Path : /usr/src/tools/regression/ccd/layout/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/tools/regression/ccd/layout/b.c |
/* $FreeBSD: release/9.1.0/tools/regression/ccd/layout/b.c 109416 2003-01-17 12:23:44Z phk $ */ #include <unistd.h> #include <fcntl.h> static uint32_t buf[512/4]; main() { u_int u = 0; while (1) { if (512 != read(0, buf, sizeof buf)) break; printf("%u %u\n", u++, buf[0]); } exit (0); }