Lines Matching refs:ATJOB_DIR
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) { in nextjob()
197 else if ((fid = fopen(ATJOB_DIR ".SEQ", "w")) != NULL) { in nextjob()
235 ppos = atfile + strlen(ATJOB_DIR); in writefile()
275 perr("cannot access " ATJOB_DIR); in writefile()
478 if (chdir(ATJOB_DIR) != 0) in list_jobs()
479 perr("cannot change to " ATJOB_DIR); in list_jobs()
482 perr("cannot open " ATJOB_DIR); in list_jobs()
488 perr("cannot stat in " ATJOB_DIR); in list_jobs()
550 if (chdir(ATJOB_DIR) != 0) in process_jobs()
551 perr("cannot change to " ATJOB_DIR); in process_jobs()
554 perr("cannot open " ATJOB_DIR); in process_jobs()
575 perr("cannot stat in " ATJOB_DIR); in process_jobs()