- int ret;
-
- assert(path);
-
- ret = creat(path, S_IRWXU);
- if (ret < 0) {
- fprintf(stderr, "Failed to create file %s\n", path);
- return;
- }
-
- (void) close(ret);
-}
+ /* These options set a flag. */
+ {"iter", required_argument, 0, 'i'},
+ {"wait", required_argument, 0, 'w'},
+ {"sync-after-first-event", required_argument, 0, 'a'},
+ {"sync-before-last-event", required_argument, 0, 'b'},
+ {"sync-before-last-event-touch", required_argument, 0, 'c'},
+ {"sync-before-exit", required_argument, 0, 'd'},
+ {"sync-before-exit-touch", required_argument, 0, 'e'},
+ {0, 0, 0, 0}
+};