Lines Matching defs:tmp
940 char *tmp = short2str(shtemp);
941 char *dot = strrchr(tmp, '.');
948 if (mkstemp(tmp) == -1)
949 stderror(ERR_SYSTEM, tmp, strerror(errno));
951 char *tmp;
957 tmp = short2str(shtemp);
959 if (xcreat(tmp, 0600) < 0)
960 stderror(ERR_SYSTEM, tmp, strerror(errno));
963 if (xopen(tmp, O_RDWR|O_CREAT|O_EXCL|O_TEMPORARY|O_LARGEFILE, 0600) ==
968 if (unlink(tmp) == -1) {
980 (void) unlink(tmp);
982 stderror(ERR_SYSTEM, tmp, strerror(errno));
985 (void) unlink(tmp); /* 0 0 inode! */
1036 tmp = short2str(obuf);
1037 (void) xwrite(0, tmp, strlen (tmp));
1095 tmp = short2str(obuf);
1096 (void) xwrite(0, tmp, strlen (tmp));
1102 tmp = short2str(obuf);
1103 (void) xwrite(0, tmp, strlen (tmp));
1111 tmp = short2str(obuf);
1112 (void) xwrite(0, tmp, strlen (tmp));