#
237c4e3a |
| 28-Oct-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Add routines to convert time_t to/from fixed-bit fields. These routines serve two purposes: (1) so we can maintain backwards compatibility with protocols (rwhod, dump, etc...) that either assume tim
Add routines to convert time_t to/from fixed-bit fields. These routines serve two purposes: (1) so we can maintain backwards compatibility with protocols (rwhod, dump, etc...) that either assume time_t is 32 bits or assume sizeof(time_t) == sizeof(int), or make other similar assumptions. (2) To tag such routines (by the presence of these calls) for future cleanup/extension work.
The 32->64 routine, time32_to_time() (when time_t is 64 bits, that is), is defined specifically to implement temporal locality to properly set the msb bits of a 64 bit time_t quantity, using the 50 year rule. The locality code has not been implemented yet (and doesn't need to be for a while), but that is the intent. This will allow us to maintain backwards protocol compatibility past 2038.
These routines are intended to be platform and time_t agnostic.
MFC after: 1 week
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
5b32a38a |
| 31-Mar-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
It's not CUT (the french would accept that back in 1879) and TUC wasn't palatable to the rest of the world. UTC was the compromise.
PR: 26238 Submitted by: Ying-Chieh Liao <ijliao@terry.dragon2.ne
It's not CUT (the french would accept that back in 1879) and TUC wasn't palatable to the rest of the world. UTC was the compromise.
PR: 26238 Submitted by: Ying-Chieh Liao <ijliao@terry.dragon2.net>
show more ...
|
Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs, release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8 |
|
#
de160001 |
| 04-Jan-1999 |
Dmitrij Tejblum <dt@FreeBSD.org> |
Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.
|
#
f0cefacc |
| 12-Sep-1998 |
Dmitrij Tejblum <dt@FreeBSD.org> |
Change return type of strptime from const char* to char*. const char* was wrong and nonstandard.
|
#
2bd32397 |
| 21-Aug-1998 |
Joseph Koshy <jkoshy@FreeBSD.org> |
Add extern declaration for `tzname[]' to make this header comply better to POSIX90.
2-rounds-of-review-by: bde
|
Revision tags: release/2.2.7 |
|
#
3f643d87 |
| 19-Apr-1998 |
Poul-Henning Kamp <phk@FreeBSD.org> |
ctime_r and asctime_r are not implemented. prototypes in time.h do not match POSIX.
PR: 6345 Reviewed by: phk Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
|
#
8a6472b7 |
| 28-Mar-1998 |
Peter Dufault <dufault@FreeBSD.org> |
Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and _KPOSIX_PRIORITY_SCHEDULING options to work. Changes:
Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told i
Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and _KPOSIX_PRIORITY_SCHEDULING options to work. Changes:
Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones;
Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;
Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;
Add options to LINT;
Minor fixes to P1003_1B code during testing.
show more ...
|
Revision tags: release/2.2.6, release/2.2.5_cvs |
|
#
37486f03 |
| 09-Aug-1997 |
Joerg Wunsch <joerg@FreeBSD.org> |
Import strptime(3) into libc. We've got permission by Kevin Ruddy to modify the original `no modifications' copyright message, and i've included his mail into the source file.
The common localizati
Import strptime(3) into libc. We've got permission by Kevin Ruddy to modify the original `no modifications' copyright message, and i've included his mail into the source file.
The common localization functions between strptime(3) and strftime(3) have been broken out into timelocal.[ch].
show more ...
|
Revision tags: release/2.2.2_cvs |
|
#
f154fbda |
| 13-May-1997 |
Peter Wemm <peter@FreeBSD.org> |
struct timespec needs to be useable with just <time.h>, but needs to not conflict with the kernel visible one. Make the new stuff not visible if _ANSI_SOURCE or _POSIX_SOURCE is defined (!) because
struct timespec needs to be useable with just <time.h>, but needs to not conflict with the kernel visible one. Make the new stuff not visible if _ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are not part of the base 1003.1-1990 standard (or ansi).
show more ...
|
#
9e0eb33e |
| 13-May-1997 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add clockid_t definition like in sys/types.h to allow time.h to be included without sys/types.h, it fixes broken groff compilation
|
#
2c97335b |
| 12-May-1997 |
Peter Wemm <peter@FreeBSD.org> |
Oops, move clock_*() and nanosleep() to time.h
Submitted by: Peter Dufault <dufault@hda.com>
|
Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1 |
|
#
b0e998dc |
| 11-Nov-1996 |
Jeffrey Hsu <hsu@FreeBSD.org> |
Change prototypes for gmtime_r() and localtime_r() in accordance with IEEE pthreads specification.
|
Revision tags: release/2.1.5_cvs |
|
#
f70177e7 |
| 22-Jan-1996 |
Julian Elischer <julian@FreeBSD.org> |
Reviewed by: julian and (hsu?) Submitted by: John Birrel(L?)
changes for threadsafe operations
|
Revision tags: release/2.1.0_cvs, release/2.0.5_cvs |
|
#
02a7dd76 |
| 08-Feb-1995 |
Bruce Evans <bde@FreeBSD.org> |
Define CLK_TCK right.
|
#
339b0f68 |
| 03-Feb-1995 |
Bruce Evans <bde@FreeBSD.org> |
Define CLOCKS_PER_SEC.
Define CLK_TCK only if _ANSI_SOURCE is not defined.
Don't include <machine/limits.h> to get the definition of CLK_TCK. CLK_TCK should never have been defined there, and the i
Define CLOCKS_PER_SEC.
Define CLK_TCK only if _ANSI_SOURCE is not defined.
Don't include <machine/limits.h> to get the definition of CLK_TCK. CLK_TCK should never have been defined there, and the inclusion polluted the namespace.
show more ...
|
#
8c2f5ad7 |
| 26-Dec-1994 |
Andrey A. Chernov <ache@FreeBSD.org> |
Declare useful functions (timelocal() and timegm())
|
Revision tags: release/2.0, release/1.1.5.1_cvs |
|
#
59deaec5 |
| 24-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Include Sources
|