Home
last modified time | relevance | path

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

/external/mksh/src/
Dos2.c491 tp = alloc(offsetof(struct temp, tffn[0]) + strlen(name) + 1, APERM); in add_temp()
492 memcpy(tp->tffn, name, strlen(name) + 1); in add_temp()
523 if (_std_unlink(tp->tffn) == 0 || errno == ENOENT) { in cleanup_temps()
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()
Dmain.c1199 unlink(tp->tffn); in remove_temps()
1747 checkoktoadd(len, offsetof(struct temp, tffn[0]) + 14); in maketemp()
1748 tp = alloc(offsetof(struct temp, tffn[0]) + 14 + len, ap); in maketemp()
1755 tp->tffn[0] = '\0'; in maketemp()
1760 cp += offsetof(struct temp, tffn[0]); in maketemp()
1776 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.h1324 char tffn[3]; member