Home | History | Annotate | Download | only in lpd

Lines Matching defs:tempfile

116 static char	tempfile[] = "errsXXXXXX"; /* file name for filter output */
211 if ((fd = mkstemp(tempfile)) != -1) {
213 (void)unlink(tempfile);
316 (void)unlink(tempfile);
733 unlink(tempfile);
734 n = open(tempfile, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0664);
766 if ((fp = fopen(tempfile, "r")) != NULL) {
1171 if (stat(tempfile, &stb) < 0 || stb.st_size == 0 ||
1172 (fp = fopen(tempfile, "r")) == NULL) {
1251 (void)unlink(tempfile);