Home
last modified time | relevance | path

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

/busybox-1.35.0/miscutils/
Dcrond.c751 char mailFile[128]; in start_one_job() local
759 snprintf(mailFile, sizeof(mailFile), "%s/cron.%s.%d", CRON_DIR, user, getpid()); in start_one_job()
760 mailFd = open(mailFile, O_CREAT | O_TRUNC | O_WRONLY | O_EXCL | O_APPEND, 0600); in start_one_job()
768 "discarding output", mailFile, user); in start_one_job()
775 unlink(mailFile); in start_one_job()
779 rename(mailFile, mailFile2); // TODO: xrename? in start_one_job()
794 char mailFile[128]; in process_finished_job() local
812 snprintf(mailFile, sizeof(mailFile), "%s/cron.%s.%d", CRON_DIR, user, (int)pid); in process_finished_job()
813 mailFd = open(mailFile, O_RDONLY); in process_finished_job()
814 unlink(mailFile); in process_finished_job()