Lines Matching full:operation
75 char *operation = NULL; in main() local
105 operation = optarg; in main()
131 if (!operation) { in main()
132 (void) printf("Operation not specified (-o <operation>).\n"); in main()
148 * Prepare the buffer and determine the requested operation in main()
170 * using the strncmp of operation will make the operation match the in main()
174 if ((strncmp(operation, "create", strlen(operation) + 1)) == 0 || in main()
175 (strncmp(operation, "overwrite", strlen(operation) + 1)) == 0) { in main()
177 } else if ((strncmp(operation, "append", strlen(operation) + 1)) == 0) { in main()
181 operation); in main()
194 * Given an operation (create/overwrite/append), open the file in main()