Home
last modified time | relevance | path

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

/netbsd/src/usr.bin/mail/
Dcollect.c375 char mailtempname[PATHSIZE]; in collect() local
385 (void)memset(mailtempname, 0, sizeof(mailtempname)); in collect()
389 (void)rm(mailtempname); in collect()
403 (void)snprintf(mailtempname, sizeof(mailtempname), in collect()
405 if ((fd = mkstemp(mailtempname)) == -1 || in collect()
409 warn("%s", mailtempname); in collect()
412 (void)rm(mailtempname); in collect()
713 if (interpolate(linebuf + 2, collf, mailtempname, c) < 0) in collect()
Dmime_attach.c565 char mailtempname[PATHSIZE]; in fput_attachment() local
569 (void)snprintf(mailtempname, sizeof(mailtempname), in fput_attachment()
571 if ((fd = mkstemp(mailtempname)) == -1 || in fput_attachment()
575 err(EXIT_FAILURE, "%s", mailtempname); in fput_attachment()
577 (void)rm(mailtempname); in fput_attachment()
Dcmd3.c492 char mailtempname[PATHSIZE]; in bounce_one() local
501 (void)snprintf(mailtempname, sizeof(mailtempname), in bounce_one()
503 if ((fd = mkstemp(mailtempname)) == -1 || in bounce_one()
507 warn("%s", mailtempname); in bounce_one()
511 (void)rm(mailtempname); in bounce_one()