Lines Matching +full:start +full:- +full:year
2 * CDDL HEADER START
47 #define YEAR 1900 macro
55 n = n*10 + (**ptr - '0'); in num()
69 * NOTE: there should not be more than a year separation in the in days_btwn()
80 * In case of d2==29 ,d1==28 and m1==m2==Feb and year is not in days_btwn()
81 * a leap year, this function should return the days till the in days_btwn()
86 for (p = 1; ! isleap(y2+YEAR+p); p++) in days_btwn()
88 return (p*365 + d2-d1-1); in days_btwn()
90 return (d2-d1-1); in days_btwn()
93 days = (days_in_mon(m1, y1)-d1) + (d2-1); in days_btwn()
108 * returns the number of days in month m of year y in days_in_mon()
111 return (dom[m] + (((m == 1) && isleap(y + YEAR)) ? 1 : 0)); in days_in_mon()
155 static int msgfd = -2; in cron_sendmsg()
161 if (msgfd == -2) { in cron_sendmsg()
165 " be running - call your system" in cron_sendmsg()
173 pmsg->etype = etype; in cron_sendmsg()
174 pmsg->action = action; in cron_sendmsg()
175 (void) strlcpy(pmsg->fname, fname, FLEN); in cron_sendmsg()
176 (void) strlcpy(pmsg->logname, login, LLEN); in cron_sendmsg()
206 p = direntry->d_name; in filewanted()
208 if (p == direntry->d_name) in filewanted()
209 return (0); /* didn't start with a number */ in filewanted()
215 if (audit_cron_is_anc_name(direntry->d_name)) in filewanted()
241 if (dir[0] != '/' || chdir(dir) == -1) { in isvalid_dir()