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

/freebsd-10.1-release/usr.bin/at/
H A Dat.c72 #ifndef ATJOB_DIR
73 #define ATJOB_DIR "/usr/spool/atjobs/" macro
77 #define LFILE ATJOB_DIR ".lockfile"
104 char atfile[] = ATJOB_DIR "12345678901234";
185 if ((fid = fopen(ATJOB_DIR ".SEQ", "r+")) != NULL) {
196 else if ((fid = fopen(ATJOB_DIR ".SEQ", "w")) != NULL) {
234 ppos = atfile + strlen(ATJOB_DIR);
274 perr("cannot access " ATJOB_DIR);
456 /* List all a user's jobs in the queue, by looping through ATJOB_DIR,
477 if (chdir(ATJOB_DIR) !
[all...]
/freebsd-10.1-release/libexec/atrun/
H A Datrun.c77 #ifndef ATJOB_DIR
78 #define ATJOB_DIR "/usr/spool/atjobs/" macro
298 if (chdir(ATJOB_DIR) < 0)
299 perr("cannot chdir to %s", ATJOB_DIR);
439 /* Browse through ATJOB_DIR, checking all the jobfiles wether they should
500 if (chdir(ATJOB_DIR) != 0)
501 perr("cannot change to %s", ATJOB_DIR);
523 perr("cannot read %s", ATJOB_DIR);
526 perr("cannot lock %s", ATJOB_DIR);
535 perr("cannot stat in %s", ATJOB_DIR);
[all...]

Completed in 96 milliseconds