Lines Matching full:operation
60 char *operation = NULL; in main() local
89 operation = optarg; in main()
115 if (!operation) { in main()
116 (void) printf("Operation not specified (-o <operation>).\n"); in main()
129 * Prepare the buffer and determine the requested operation in main()
146 * using the strncmp of operation will make the operation match the in main()
150 if ((strncmp(operation, "create", strlen(operation) + 1)) == 0 || in main()
151 (strncmp(operation, "overwrite", strlen(operation) + 1)) == 0) { in main()
153 } else if ((strncmp(operation, "append", strlen(operation) + 1)) == 0) { in main()
157 operation); in main()
172 * Given an operation (create/overwrite/append), open the file in main()