Lines Matching defs:ATJOB_DIR
75 #ifndef ATJOB_DIR
76 #define ATJOB_DIR "/usr/spool/atjobs/"
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) != 0)
481 perr("cannot change to " ATJOB_DIR);
484 perr("cannot open " ATJOB_DIR);
490 perr("cannot stat in " ATJOB_DIR);
552 if (chdir(ATJOB_DIR) != 0)
553 perr("cannot change to " ATJOB_DIR);
556 perr("cannot open " ATJOB_DIR);
577 perr("cannot stat in " ATJOB_DIR);