136 FILE *fp_pi_table, *fp_primes;
142 fp_pi_table = fp_primes = stdout;
146 if ((fp_primes = fopen(file,
"w")) == NULL) {
147 (void) fprintf(stderr,
"espresso: Unable to open %s\n", file);
151 if ((fp_pi_table = fopen(file,
"w")) == NULL) {
152 (void) fprintf(stderr,
"espresso: Unable to open %s\n", file);
153 fp_pi_table = stdout;
164 (void) fprintf(fp_primes,
"# Essential primes are\n");
166 (void) fprintf(fp_primes,
"%s\n",
pc1(p));
168 (void) fprintf(fp_primes,
"# Totally redundant primes are\n");
170 (void) fprintf(fp_primes,
"%s\n",
pc1(p));
172 (void) fprintf(fp_primes,
"# Partially redundant primes are\n");
174 (void) fprintf(fp_primes,
"%s\n",
pc1(p));
176 if (fp_primes != stdout) {
177 (void) fclose(fp_primes);
181 if (fp_pi_table != stdout) {
182 (void) fclose(fp_pi_table);
void PLA_labels(pPLA PLA)
#define foreach_set(R, last, p)
void sm_write(FILE *fp, sm_matrix *A)
void fpr_header(FILE *fp, pPLA PLA, int output_type)