freebsd-dev/bin/date
Ed Schouten 902d9eafbf Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:

	int gettimeofday(struct timeval *restrict tp, void *restrict tzp);

Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.

While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
2012-09-01 14:45:15 +00:00
..
date.1 Explain that setting an absolute day value can fail and that the month should 2010-06-04 06:56:58 +00:00
date.c Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
extern.h
Makefile Port everything in bin/ from utmp to utmpx. 2010-01-13 17:56:54 +00:00
netdate.c Use strlcpy in place of strncpy + setting the last character NUL. To 2006-08-20 06:31:24 +00:00
vary.c
vary.h