freebsd-dev/include
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
..
arpa Diff-reduce these two. 2001-10-27 12:49:19 +00:00
protocols Zap $Revision$ 1999-09-05 17:43:31 +00:00
rpc Add compatibility functions for the AF_LOCAL RPC transport stuff 2001-10-04 21:03:17 +00:00
rpcsvc Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
_ctype.h There is a problem in that one cannot use ctype.h at the same time as parts 2000-02-08 07:43:26 +00:00
a.out.h
ar.h
assert.h Restore K&R prototype. Fix other style bugs. 2001-10-27 19:37:20 +00:00
bitstring.h Cleanup of bitstring.h: 2000-10-09 12:34:51 +00:00
complex.h Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostly 2001-06-13 15:16:30 +00:00
ctype.h There is a problem in that one cannot use ctype.h at the same time as parts 2000-02-08 07:43:26 +00:00
db.h Fix conflicts and merge into mainline (this may get cvs admined out and redone properly by Peter later) 1996-02-27 19:42:44 +00:00
dirent.h Add a lock to DIR to make telldir and friends MT-safe. 2001-01-24 13:01:47 +00:00
disktab.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
dlfcn.h Add a definition for RTLD_DEFAULT. 2000-09-19 04:24:50 +00:00
elf-hints.h * include/elf.h has been repo copied to include/elf-hints.h, and it no 2001-05-02 23:56:21 +00:00
elf.h Update copyright. 2001-06-09 05:22:31 +00:00
err.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
fnmatch.h Add FNM_FILE_NAME - GNU alias to FNM_PATHNAME 1999-11-21 17:32:45 +00:00
fstab.h Change to comment for fs_passno to reflect that it applies 1997-01-28 06:11:45 +00:00
fts.h Complete prototype for fts_compar. 2001-06-13 14:59:57 +00:00
glob.h Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatible 2001-07-29 00:52:37 +00:00
grp.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
hesiod.h Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
histedit.h Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc. 2001-10-01 21:07:33 +00:00
ieeefp.h Finish moving all IEEE fp types to be the same on all arch's. 2000-05-10 19:41:40 +00:00
ifaddrs.h add getifaddrs(3) from bsdi. this is a magic function which lets you grab 2000-07-05 02:13:17 +00:00
iso646.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
langinfo.h Add D_MD_ORDER (local extension) to get month/day order from locale 2001-03-19 11:53:34 +00:00
libgen.h Import XPG4-compliant basename(3) and dirname(3) from OpenBSD. 2000-08-31 15:56:15 +00:00
limits.h After one too many PRs on the subject, bite the bullet and define IOV_MAX 2001-06-18 20:24:54 +00:00
link.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
locale.h Basic support for LC_MESSAGES 1998-04-29 22:39:56 +00:00
Makefile Back out WIP that snuck in with revs 1.15[23]. 2001-10-01 21:09:21 +00:00
malloc.h Resume deorbit burn sequence for <malloc.h>. Inspection of my make logs 2001-10-25 02:35:29 +00:00
math.h Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
memory.h
monetary.h Fixed some style bugs. 2001-10-04 07:39:14 +00:00
mpool.h Use TAILQ instead of CIRCLEQ. 2000-12-29 20:25:01 +00:00
ndbm.h Add missing declarations. 1999-06-21 17:07:20 +00:00
netconfig.h const'ify 2001-03-27 09:43:09 +00:00
netdb.h Fixed order of includes. <sys/cdefs.h> must be included before 2001-10-04 10:34:30 +00:00
nl_types.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
nlist.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
nsswitch.h Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
objformat.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
paths.h Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons, 2001-03-08 09:04:40 +00:00
pthread_np.h Make the name parameter const char *. 2001-08-11 05:16:00 +00:00
pthread.h Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to 2001-07-20 04:23:11 +00:00
pwd.h Use the correct type for uid and gid in struct passwd. Document it. 1999-01-18 02:14:20 +00:00
ranlib.h
regex.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
regexp.h
resolv.h Implement EDNS0 support, as EDNS0 support will be made mandatory for 2001-06-10 20:25:24 +00:00
rune.h
runetype.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +00:00
search.h fix spelling errors. 2000-07-07 16:52:24 +00:00
setjmp.h Suggested by: bde 1998-01-20 09:09:24 +00:00
sgtty.h
signal.h Remove the inline versions of sigaddset, sigdelset, sigemptyset, 1999-10-02 19:33:23 +00:00
stab.h
stdbool.h Remove comment, which didn't even help anyway. 2001-08-13 13:29:29 +00:00
stddef.h Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints. 2001-05-24 19:29:15 +00:00
stdio.h Now that the compat4x libc.so.4 binary has been updated, we can finally 2001-09-20 08:47:41 +00:00
stdlib.h Introduce getprogname(3) and setprogname(3) library calls. These get 2001-05-15 23:41:01 +00:00
strhash.h $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
string.h Fixed some style bugs: 2001-10-10 07:34:47 +00:00
stringlist.h Add stringlist functions from NetBSD. (required for the new ftp(1) 1997-06-25 08:04:52 +00:00
strings.h
sysexits.h
tar.h
time.h Add routines to convert time_t to/from fixed-bit fields. These routines 2001-10-28 19:54:49 +00:00
timers.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
ttyent.h MF22: prototype fix. 1998-07-16 00:10:14 +00:00
unistd.h o Update unistd.h with the prototype for the new eaccess(2) system call. 2001-09-21 22:50:39 +00:00
utime.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
utmp.h ll_time and ut_time are int32_t on disk and have to remain that way 2001-10-27 20:40:54 +00:00
vis.h Declare strunvisx(). 2001-02-06 01:15:32 +00:00
wchar.h VCS ID fixup 2001-07-10 17:50:46 +00:00
wctype.h VCS ID fixup 2001-07-10 17:50:46 +00:00