Lines Matching refs:workp
101 static char *workp; /* name of the work file */ variable
240 workp = tempnam(".", "xx");
241 if ((fp_outp = fopen(workp, "a+")) == NULL) {
242 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
277 cmdname, workp, syserr());
286 if ((fp_outp = fopen(workp, "r")) == NULL) {
287 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
290 if ((stat(workp, &buf)) != 0) {
291 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
308 (void) fprintf(stderr, "%s: %s: %s\n", cmdname, workp, syserr());
311 (void) unlink(workp);
312 free(workp);
410 if (workp) in clean()
411 (void) unlink(workp); in clean()