Searched refs:ATJOB_DIR (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/usr.bin/at/
H A DMakefile.inc5 ATJOB_DIR=/var/at/jobs
15 CFLAGS += -DATJOB_DIR=\"$(ATJOB_DIR)/\" \
16 -DLFILE=\"$(ATJOB_DIR)/$(LOCKFILE)\" \
H A Dat.c75 #ifndef ATJOB_DIR
76 #define ATJOB_DIR "/usr/spool/atjobs/" macro
80 #define LFILE ATJOB_DIR ".lockfile"
107 char atfile[] = ATJOB_DIR "12345678901234";
188 if ((fid = fopen(ATJOB_DIR ".SEQ", "r+")) != NULL) {
199 else if ((fid = fopen(ATJOB_DIR ".SEQ", "w")) != NULL) {
237 ppos = atfile + strlen(ATJOB_DIR);
277 perr("cannot access " ATJOB_DIR);
459 /* List all a user's jobs in the queue, by looping through ATJOB_DIR,
480 if (chdir(ATJOB_DIR) !
[all...]
/freebsd-13-stable/libexec/atrun/
H A Datrun.c80 #ifndef ATJOB_DIR
81 #define ATJOB_DIR "/usr/spool/atjobs/" macro
301 if (chdir(ATJOB_DIR) < 0)
302 perr("cannot chdir to %s", ATJOB_DIR);
442 /* Browse through ATJOB_DIR, checking all the jobfiles wether they should
504 if (chdir(ATJOB_DIR) != 0)
505 perr("cannot change to %s", ATJOB_DIR);
527 perr("cannot read %s", ATJOB_DIR);
530 perr("cannot lock %s", ATJOB_DIR);
539 perr("cannot stat in %s", ATJOB_DIR);
[all...]

Completed in 65 milliseconds