9 printf ("(read-zero) begin\n");
11 handle = open ("sample.txt");
13 printf ("(read-zero) fail: open() returned %d\n", handle);
16 byte_cnt = read (handle, &buf, 0);
18 printf ("(read-zero) fail: read() returned %d instead of 0\n", byte_cnt);
20 printf ("(read-zero) fail: 0-byte read() modified buffer\n");
22 printf ("(read-zero) end\n");