Home
last modified time | relevance | path

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

/third_party/mksh/
Dhistrap.c297 bi_errorf(Tf_temp, Tcreate, tf->tffn, cstrerror(errno)); in c_fc()
304 bi_errorf(Tf_temp, Twrite, tf->tffn, cstrerror(errno)); in c_fc()
309 setstr(local("_", false), tf->tffn, KSH_RETURN_ERROR); in c_fc()
320 if (!(shf = shf_open(tf->tffn, O_RDONLY, 0, 0))) { in c_fc()
321 bi_errorf(Tf_temp, Topen, tf->tffn, cstrerror(errno)); in c_fc()
325 if (stat(tf->tffn, &statb) < 0) in c_fc()
340 bi_errorf(Tf_temp, Tread, tf->tffn, in c_fc()
Dos2.c518 tp = alloc(offsetof(struct temp, tffn[0]) + strlen(name) + 1, APERM); in add_temp()
519 memcpy(tp->tffn, name, strlen(name) + 1); in add_temp()
550 if (_std_unlink(tp->tffn) == 0 || errno == ENOENT) { in cleanup_temps()
Dmain.c1209 unlink(tp->tffn); in remove_temps()
1758 checkoktoadd(len, offsetof(struct temp, tffn[0]) + 14); in maketemp()
1759 tp = alloc(offsetof(struct temp, tffn[0]) + 14 + len, ap); in maketemp()
1766 tp->tffn[0] = '\0'; in maketemp()
1771 cp += offsetof(struct temp, tffn[0]); in maketemp()
1787 if ((i = binopen3(tp->tffn, O_CREAT | O_EXCL | O_RDWR, in maketemp()
Dexec.c1643 if (!(shf = h->shf) || (fd = binopen3(h->tffn, O_RDONLY, 0)) < 0) { in herein()
1646 !shf ? Tcreate : Topen, h->tffn, cstrerror(i)); in herein()
1663 Twrite, h->tffn, cstrerror(i)); in herein()
Deval.c1595 Tcreate, tf->tffn, cstrerror(errno)); in comsub()
1599 unlink(tf->tffn); in comsub()
Dsh.h1322 char tffn[3]; member