Lines Matching refs:tempfile
52 char tempfile[40] = ""; variable
73 sprintf(tempfile, "stream05.%d", getpid()); in main()
76 if ((stream = fopen(tempfile, "a+")) == NULL) { in main()
78 tempfile, in main()
84 if ((stream = fopen(tempfile, "r+")) == NULL) { in main()
86 tempfile, in main()
135 if ((stream = fopen(tempfile, "r+")) == NULL) { in main()
137 tempfile, in main()
182 if ((stream = fopen(tempfile, "rb")) == NULL) { in main()
184 tempfile, in main()
189 if ((stream = fopen(tempfile, "wb")) == NULL) { in main()
191 tempfile, in main()
196 if ((stream = fopen(tempfile, "ab")) == NULL) { in main()
198 tempfile, in main()
203 if ((stream = fopen(tempfile, "rb+")) == NULL) { in main()
205 tempfile, in main()
210 if ((stream = fopen(tempfile, "wb+")) == NULL) { in main()
212 tempfile, in main()
217 if ((stream = fopen(tempfile, "ab+")) == NULL) { in main()
219 tempfile, in main()
226 unlink(tempfile); in main()