Lines Matching defs:tmp_file
118 char tmp_file[] = "mpc_test";
122 if (!(fp = fopen (tmp_file, "w")))
124 printf ("Error: Could not open file %s in write mode\n", tmp_file);
131 if (!(fp = fopen (tmp_file, "r")))
133 printf ("Error: Could not open file %s in read mode\n", tmp_file);
139 "in file %s\n", tmp_file);
162 char tmp_file[] = "mpc_test";
168 if (freopen (tmp_file, "w", stdout) == NULL)
181 if (freopen (tmp_file, "r", stdin) == NULL)
189 "in file %s\n", tmp_file);