Searched refs:datepart (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_date.c | 44 static int datepart(const char *, int, int, int, int *); 69 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900; in ns_datetosecs() 70 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; in ns_datetosecs() 71 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs() 72 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); in ns_datetosecs() 73 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); in ns_datetosecs() 74 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp); in ns_datetosecs() 113 datepart(const char *buf, int size, int min, int max, int *errp) { in datepart() function
|