#
abbd8902 |
| 21-Aug-2002 |
Mike Barcroft <mike@FreeBSD.org> |
o Merge <machine/ansi.h> and <machine/types.h> into a new header called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of
o Merge <machine/ansi.h> and <machine/types.h> into a new header called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif
Concept by: bde Reviewed by: jake, obrien
show more ...
|
#
620035ef |
| 15-Aug-2002 |
Robert Drehmel <robert@FreeBSD.org> |
- Add the 'restrict' qualifier to the function definition of strftime(3) for IEEE Std 1003.1-2001 compliance and remove excessive usage of the 'const' qualifier that was neither present in t
- Add the 'restrict' qualifier to the function definition of strftime(3) for IEEE Std 1003.1-2001 compliance and remove excessive usage of the 'const' qualifier that was neither present in the prototype in the publice header, nor in the local prototype just above the function definition. - Replace the K&R function definition with a ANSI-C one. - Update the prototype of strftime(3) in its manual page.
show more ...
|
#
d542f511 |
| 15-Aug-2002 |
Robert Drehmel <robert@FreeBSD.org> |
- Add the C99 'restrict' qualifier using the '__restrict' macro to function prototype and definition of strptime(3). - Update the manual page.
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
b3ab54e1 |
| 27-Jun-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
The thread-safe time functions appear to have been introduced as of ISO 9945-1: 1996 (according to the change bars therein), which corresponds to 1003.1c-1995. Give them appropriate visibility prote
The thread-safe time functions appear to have been introduced as of ISO 9945-1: 1996 (according to the change bars therein), which corresponds to 1003.1c-1995. Give them appropriate visibility protection.
show more ...
|
#
b8c54054 |
| 27-Jun-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Resort namespace blocks into a more sensible order. Delete a redundant comment.
|
#
8466ae90 |
| 17-Jun-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Move dillon's time conversion functions to a new header <timeconv.h>. Since they were never documented and have never appeared in a FreeBSD release, no repo-copy of the header is done. This removes
Move dillon's time conversion functions to a new header <timeconv.h>. Since they were never documented and have never appeared in a FreeBSD release, no repo-copy of the header is done. This removes namespace pollution from <time.h>.
show more ...
|
#
73cf72f5 |
| 17-Jun-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Clean up a bit of namespace pollution which crept in with the last rev.
Submitted by: bde
|
#
1cb2a9ae |
| 16-Jun-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Partially fix namespace visibility issues by using new visibility macros. Some issues still remain, and will require research in old POSIX standards if we care to get them right.
|
#
bb28f3c2 |
| 23-Mar-2002 |
Warner Losh <imp@FreeBSD.org> |
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tel
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
170ac683 |
| 20-Jan-2002 |
Matthew Dillon <dillon@FreeBSD.org> |
I've been meaning to do this for a while. Add an underscore to the time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are st
I've been meaning to do this for a while. Add an underscore to the time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
show more ...
|
#
e8627df6 |
| 28-Oct-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Add time_to_int(), int_to_time(), time_to_long(), long_to_time().
|
#
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.
|