- for (i = 0; i < CHILD_CNT; i++)
- {
- int status = join (children[i]);
- check (status == i, "join child %d of %d", i + 1, (int) CHILD_CNT);
- }
-
- check ((fd = open (filename)) > 1, "open \"%s\"", filename);
- check (read (fd, buf1, sizeof buf1) > 0, "read \"%s\"", filename);
+ CHECK ((fd = open (filename)) > 1, "open \"%s\"", filename);
+ CHECK (read (fd, buf1, sizeof buf1) > 0, "read \"%s\"", filename);