Home | History | Annotate | Download | only in examples

Lines Matching defs:output

104          char *output;
116 output = malloc(len + 5);
117 if (output != NULL)
121 memcpy(output, filename, len);
122 strcpy(output+len, ".icc");
124 of = fopen(output, "wb");
132 printf("%s -> %s\n", filename, output);
139 fprintf(stderr, "%s: error writing profile\n", output);
140 if (remove(output))
141 fprintf(stderr, "%s: could not remove file\n", output);
146 fprintf(stderr, "%s: failed to open output file\n", output);
148 free(output);