Home
last modified time | relevance | path

Searched refs:tfname2 (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/lpr/common_source/
H A Dctlinfo.c436 char tfname2[NAME_MAX+1], cfname2[NAME_MAX+1]; in ctl_renametf() local
483 strlcpy(tfname2, tfname, sizeof(tfname2)); in ctl_renametf()
484 tfname2[0] = 'r'; /* rf<letter><job><hostname> */ in ctl_renametf()
485 newfd = open(tfname2, O_WRONLY|O_CREAT|O_TRUNC, 0660); in ctl_renametf()
488 "ctl_renametf error open(%s): %s", tfname2, in ctl_renametf()
496 "ctl_renametf error fopen(%s): %s", tfname2, in ctl_renametf()
687 "ctl_renametf error fclose(%s): %s", tfname2, in ctl_renametf()
694 res = link(tfname2, cfname2); in ctl_renametf()
697 "ctl_renametf error link(%s,%s): %s", tfname2, cfname2, in ctl_renametf()
711 res = stat(tfname2, &tfstat); in ctl_renametf()
[all …]