Lines Matching refs:temp
369 char temp[PATH_MAX], *bufp, *cp, *lmode;
396 if (len + sizeof(TMPFILE) + (cp[len-1] != '/') > sizeof(temp)) {
402 (void)strlcpy(temp, cp, sizeof temp);
403 if (temp[len-1] != '/')
404 temp[len++] = '/';
405 (void)strlcpy(&temp[len], TMPFILE, sizeof temp - len);
406 if ((fd = mkstemp(temp)) == -1) {
407 warn("unable to create temporary file: %s", temp);
418 recvrequest(type ? "LIST" : "NLST", temp, *argv, lmode,
428 *ftemp = fopen(temp, "r");
429 (void)unlink(temp);