Searched refs:ATJOB_DIR (Results 1 – 3 of 3) sorted by relevance
73 #ifndef ATJOB_DIR 74 #define ATJOB_DIR "/usr/spool/atjobs/" macro78 #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()[all …]
3 ATJOB_DIR=/var/at/jobs
75 #ifndef ATJOB_DIR76 #define ATJOB_DIR "/usr/spool/atjobs/" macro296 if (chdir(ATJOB_DIR) < 0) in run_file()297 perr("cannot chdir to %s", ATJOB_DIR); in run_file()499 if (chdir(ATJOB_DIR) != 0) in main()500 perr("cannot change to %s", ATJOB_DIR); in main()522 perr("cannot read %s", ATJOB_DIR); in main()525 perr("cannot lock %s", ATJOB_DIR); in main()534 perr("cannot stat in %s", ATJOB_DIR); in main()570 perr("cannot unlock %s", ATJOB_DIR); in main()[all …]