Searched refs:ATDIR (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/cron/ |
H A D | at.c | 356 tflen = strlen(ATDIR) + 1 + strlen(TMPFILE) + in main() 359 snprintf(tfname, tflen, "%s/%s%d", ATDIR, TMPFILE, getpid()); in main() 430 sprintf(name, "%s/%ld.%c", ATDIR, t, 'a'+jobtype); in mkjobname() 754 if (chdir(ATDIR) == -1) in remove_jobs() 780 audit_at_delete(argv[i], ATDIR, r); in remove_jobs() 811 if (chdir(ATDIR) == -1) in list_jobs() 814 atdirlen = strlen(ATDIR); in list_jobs() 816 strcpy(atdir, ATDIR); in list_jobs() 821 if (stat(ATDIR, &st1) != 0 || stat(atdir, &st2) != 0) in list_jobs() 824 if ((dir = opendir(ATDIR)) == NULL) in list_jobs()
|
H A D | atq.c | 172 if (chdir(ATDIR) == -1) in main() 173 atabortperror(ATDIR); in main() 176 atabortperror(ATDIR); in main()
|
H A D | cron.h | 92 #define ATDIR "/var/spool/cron/atjobs" macro
|
H A D | cron.c | 772 if (chdir(ATDIR) == -1) { in read_dirs() 1012 if (snprintf(namebuf, sizeof (namebuf), "%s/%s", ATDIR, name) in mod_atjob() 2199 at_cmdfile = xmalloc(strlen(ATDIR) + strlen(e->cmd) + 2); in ex() 2200 (void) sprintf(at_cmdfile, "%s/%s", ATDIR, e->cmd); in ex() 2203 if (chdir(ATDIR) == 0) in ex() 2309 if (chdir(ATDIR) == 0) in ex() 3326 if (strlen(ATDIR) + strlen(ev->cmd) + 2 in clean_out_atjobs() 3328 (void) sprintf(buf, "%s/%s", ATDIR, ev->cmd); in clean_out_atjobs() 3384 (cwd == AT) ? NULL:ATDIR, in create_anc_atjob() 3399 (cwd == AT) ? NULL:ATDIR); in delete_anc_atjob()
|
H A D | atrm.c | 338 if (chdir(ATDIR) < 0) in getjoblist()
|