Searched refs:ATJOB_DIR (Results 1 - 3 of 3) sorted by relevance
/freebsd-current/usr.bin/at/ |
H A D | Makefile.inc | 4 ATJOB_DIR=/var/at/jobs 14 CFLAGS += -DATJOB_DIR=\"$(ATJOB_DIR)/\" \ 15 -DLFILE=\"$(ATJOB_DIR)/$(LOCKFILE)\" \
|
H A D | at.c | 73 #ifndef ATJOB_DIR 74 #define ATJOB_DIR "/usr/spool/atjobs/" macro 78 #define LFILE ATJOB_DIR ".lockfile" 105 char atfile[] = ATJOB_DIR "12345678901234"; 186 if ((fid = fopen(ATJOB_DIR ".SEQ", "r+")) != NULL) { 197 else if ((fid = fopen(ATJOB_DIR ".SEQ", "w")) != NULL) { 235 ppos = atfile + strlen(ATJOB_DIR); 275 perr("cannot access " ATJOB_DIR); 457 /* List all a user's jobs in the queue, by looping through ATJOB_DIR, 478 if (chdir(ATJOB_DIR) ! [all...] |
/freebsd-current/libexec/atrun/ |
H A D | atrun.c | 75 #ifndef ATJOB_DIR 76 #define ATJOB_DIR "/usr/spool/atjobs/" macro 296 if (chdir(ATJOB_DIR) < 0) 297 perr("cannot chdir to %s", ATJOB_DIR); 437 /* Browse through ATJOB_DIR, checking all the jobfiles wether they should 499 if (chdir(ATJOB_DIR) != 0) 500 perr("cannot change to %s", ATJOB_DIR); 522 perr("cannot read %s", ATJOB_DIR); 525 perr("cannot lock %s", ATJOB_DIR); 534 perr("cannot stat in %s", ATJOB_DIR); [all...] |
Completed in 74 milliseconds