Lines Matching refs:operation
57 char *operation = NULL;
84 operation = optarg;
110 if (!operation) {
111 (void) printf("Operation not specified (-o <operation>).\n");
124 * Prepare the buffer and determine the requested operation
141 * using the strncmp of operation will make the operation match the
145 if ((strncmp(operation, "create", strlen(operation) + 1)) == 0 ||
146 (strncmp(operation, "overwrite", strlen(operation) + 1)) == 0) {
148 } else if ((strncmp(operation, "append", strlen(operation) + 1)) == 0) {
152 operation);
165 * Given an operation (create/overwrite/append), open the file