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