freebsd-skq/lib/libc
Matthew Dillon 237c4e3a9e 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
2001-10-28 19:54:49 +00:00
..
alpha Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
amd64 De-orbit DEFS.h - the other arches do not use it, and it got replaced 2001-10-24 20:29:14 +00:00
compat-43 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
db mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
gen Only provide function information in compile environments that support 2001-10-27 20:11:10 +00:00
gmon mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
i386 De-orbit DEFS.h - the other arches do not use it, and it got replaced 2001-10-24 20:29:14 +00:00
ia64 Compensate for the way that _setjmp aligns the start of jmp_buf. 2001-10-26 08:26:45 +00:00
include signanosleep(2) hasn't existed since 1998. 2001-10-19 13:01:57 +00:00
locale mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mips Bring in initial libc support for mips. These files were taken from 1999-03-03 07:06:17 +00:00
mipseb Fix all the mipseb Makefiles. They were broken when I checked them in 1999-04-22 07:16:11 +00:00
mipsel Fix all the mipseb Makefiles. They were broken when I checked them in 1999-04-22 07:16:11 +00:00
net Allow users to specify a command to use as remote command instead of 2001-10-23 06:22:15 +00:00
nls mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
posix1e Fixed missing `const' in synopsis. 2001-10-03 16:29:21 +00:00
quad $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
regex mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
rpc s/kernal/kernel 2001-10-19 07:52:11 +00:00
sparc64 Minimal libc for sparc64. 2001-10-26 05:40:07 +00:00
stdio In > LONG_MAX test use sseek return value and not _offset which can be not 2001-10-25 22:56:04 +00:00
stdlib Make this work on ia64. I have no idea why it works on alpha - it 2001-10-06 15:58:54 +00:00
stdtime Add routines to convert time_t to/from fixed-bit fields. These routines 2001-10-28 19:54:49 +00:00
string Note that strncmp() will not compare characters after a NUL character. 2001-10-11 17:02:44 +00:00
sys Remove the internal implementation details of wrapping syscalls, 2001-10-26 17:38:20 +00:00
xdr Fixed various type errors in synopsis. 2001-10-03 16:53:59 +00:00
yp Changed the clnt_perror string in yp_all because it was saying the 2001-05-23 15:37:10 +00:00
Makefile Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-( 2001-08-13 21:48:44 +00:00
Makefile.inc Activate build of posix1e extensions in libc and libc_r that have been 2001-04-04 18:17:28 +00:00