freebsd-src/tools/regression/ccd/layout/b.c
Warner Losh 2a63c3be15 Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
2023-08-16 11:54:29 -06:00

19 lines
207 B
C

#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);
}