replace library time handling functions

mktime, tzset, asctime, ctime, gmtime, localtime, strftime
with zoneinfo implementations in src/commands/zoneinfo, referenced
from src/lib/stdtime/Makefile.in.
This commit is contained in:
Ben Gras
2007-03-30 15:36:49 +00:00
parent 6ccd37a982
commit 056ac0a0d3
13 changed files with 28 additions and 627 deletions

View File

@@ -14,6 +14,11 @@ struct timeval
long /*useconds_t*/ tv_usec;
};
struct timezone {
int tz_minuteswest; /* minutes west of Greenwich */
int tz_dsttime; /* type of dst correction */
};
int gettimeofday(struct timeval *_RESTRICT tp, void *_RESTRICT tzp);
/* Compatibility with other Unix systems */