freebsd-skq/sys/sys
wollman f0e3ec0f96 Make it easier for programs to figure out what revision of FreeBSD they
are running under.  Here's how to bootstrap (order is important):

1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel.  Reboot.
4) cd /usr/src/include; make install

You can now detect the compilation environment with the following code:

#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif

You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.

For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
..
_sigset.h Added $Id$ 1994-08-02 07:55:43 +00:00
acct.h Added $Id$ 1994-08-02 07:55:43 +00:00
bio.h Incorporated post 1.1.5 work from John Dyson. This includes performance 1994-08-06 09:15:42 +00:00
bitstring.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
buf.h Incorporated post 1.1.5 work from John Dyson. This includes performance 1994-08-06 09:15:42 +00:00
callout.h Added $Id$ 1994-08-02 07:55:43 +00:00
cdefs.h Added $Id$ 1994-08-02 07:55:43 +00:00
cdio.h Replaced certain character arrays in structures with msf_lba union. 1994-02-05 09:14:24 +00:00
chio.h New version of scsi code from Julian 1993-11-18 05:03:27 +00:00
clist.h Added $Id$ 1994-08-02 07:55:43 +00:00
conf.h Added $Id$ 1994-08-02 07:55:43 +00:00
cons.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
device.h Added $Id$ 1994-08-02 07:55:43 +00:00
dir.h Added $Id$ 1994-08-02 07:55:43 +00:00
dirent.h Added $Id$ 1994-08-02 07:55:43 +00:00
disk.h Added $Id$ 1994-08-02 07:55:43 +00:00
disklabel.h Added $Id$ 1994-08-02 07:55:43 +00:00
diskmbr.h Added $Id$ 1994-08-02 07:55:43 +00:00
diskpc98.h Added $Id$ 1994-08-02 07:55:43 +00:00
dkbad.h Added $Id$ 1994-08-02 07:55:43 +00:00
dkstat.h Added $Id$ 1994-08-02 07:55:43 +00:00
dmap.h Added $Id$ 1994-08-02 07:55:43 +00:00
domain.h Added $Id$ 1994-08-02 07:55:43 +00:00
errno.h Added $Id$ 1994-08-02 07:55:43 +00:00
exec.h Added $Id$ 1994-08-02 07:55:43 +00:00
fbio.h Added $Id$ 1994-08-02 07:55:43 +00:00
fcntl.h Added $Id$ 1994-08-02 07:55:43 +00:00
fdcio.h Added $Id$ 1994-08-02 07:55:43 +00:00
file.h Added $Id$ 1994-08-02 07:55:43 +00:00
filedesc.h Added $Id$ 1994-08-02 07:55:43 +00:00
filio.h Added $Id$ 1994-08-02 07:55:43 +00:00
gmon.h Added $Id$ 1994-08-02 07:55:43 +00:00
imgact.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
ioccom.h Added $Id$ 1994-08-02 07:55:43 +00:00
ioctl_compat.h Added $Id$ 1994-08-02 07:55:43 +00:00
ioctl.h Added $Id$ 1994-08-02 07:55:43 +00:00
ipc.h Added $Id$ 1994-08-02 07:55:43 +00:00
kernel.h Added $Id$ 1994-08-02 07:55:43 +00:00
ktrace.h Added $Id$ 1994-08-02 07:55:43 +00:00
libkern.h Added $Id$ 1994-08-02 07:55:43 +00:00
linedisc.h Added $Id$ 1994-08-02 07:55:43 +00:00
link_aout.h This is the new link.h from Paul K. Keeping history is even probably a bad 1994-02-13 20:47:18 +00:00
link_elf.h This is the new link.h from Paul K. Keeping history is even probably a bad 1994-02-13 20:47:18 +00:00
lockf.h Made lockf advisory locking code generic (rather than ufs specific), and 1994-08-08 17:31:01 +00:00
malloc.h Added $Id$ 1994-08-02 07:55:43 +00:00
map.h Added $Id$ 1994-08-02 07:55:43 +00:00
mbuf.h Implemented "fast" mbuf macros. a small number of mbufs are cached in 1994-08-06 11:26:16 +00:00
md5.h Reviewed by: phk 1994-07-24 03:29:56 +00:00
mman.h Added MAP_FILE definition that does nothing - for backward source 1994-08-02 15:06:58 +00:00
mount.h Added $Id$ 1994-08-02 07:55:43 +00:00
msgbuf.h Added $Id$ 1994-08-02 07:55:43 +00:00
mtio.h Added $Id$ 1994-08-02 07:55:43 +00:00
namei.h Added $Id$ 1994-08-02 07:55:43 +00:00
nlist_aout.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
param.h Added $Id$ 1994-08-02 07:55:43 +00:00
proc.h Added $Id$ 1994-08-02 07:55:43 +00:00
protosw.h Added $Id$ 1994-08-02 07:55:43 +00:00
ptrace.h Process tracing code. Written by Sean Eric Fagan. 1994-08-08 13:00:27 +00:00
queue.h Added $Id$ 1994-08-02 07:55:43 +00:00
reboot.h Added $Id$ 1994-08-02 07:55:43 +00:00
resource.h Added $Id$ 1994-08-02 07:55:43 +00:00
resourcevar.h Added $Id$ 1994-08-02 07:55:43 +00:00
rlist.h Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
scsiio.h Added $Id$ 1994-08-02 07:55:43 +00:00
select.h Added $Id$ 1994-08-02 07:55:43 +00:00
selinfo.h Added $Id$ 1994-08-02 07:55:43 +00:00
signal.h Added $Id$ 1994-08-02 07:55:43 +00:00
signalvar.h Added $Id$ 1994-08-02 07:55:43 +00:00
socket.h Added $Id$ 1994-08-02 07:55:43 +00:00
socketvar.h Added $Id$ 1994-08-02 07:55:43 +00:00
sockio.h Added ioctl support for SIOCGIFMTU and SIOCSIFMTU. These set the per- 1994-08-08 10:49:26 +00:00
soundcard.h Added $Id$ 1994-08-02 07:55:43 +00:00
stat.h Added $Id$ 1994-08-02 07:55:43 +00:00
syscall.h The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
sysctl.h Make it easier for programs to figure out what revision of FreeBSD they 1994-08-10 06:25:07 +00:00
syslimits.h Increased ARG_MAX even further...to 64k bytes. 1994-08-08 09:12:43 +00:00
syslog.h Added $Id$ 1994-08-02 07:55:43 +00:00
systm.h Converted 'vmunix' to 'kernel'. 1994-08-05 09:28:55 +00:00
tablet.h Added $Id$ 1994-08-02 07:55:43 +00:00
termios.h Added $Id$ 1994-08-02 07:55:43 +00:00
time.h Added $Id$ 1994-08-02 07:55:43 +00:00
timeb.h Added $Id$ 1994-08-02 07:55:43 +00:00
times.h Added $Id$ 1994-08-02 07:55:43 +00:00
timetc.h Added $Id$ 1994-08-02 07:55:43 +00:00
tprintf.h Added $Id$ 1994-08-02 07:55:43 +00:00
trace.h Added $Id$ 1994-08-02 07:55:43 +00:00
tty.h Added $Id$ 1994-08-02 07:55:43 +00:00
ttychars.h Added $Id$ 1994-08-02 07:55:43 +00:00
ttycom.h Added $Id$ 1994-08-02 07:55:43 +00:00
ttydefaults.h Added $Id$ 1994-08-02 07:55:43 +00:00
ttydev.h Added $Id$ 1994-08-02 07:55:43 +00:00
types.h Added $Id$ 1994-08-02 07:55:43 +00:00
ucred.h Added $Id$ 1994-08-02 07:55:43 +00:00
uio.h Added $Id$ 1994-08-02 07:55:43 +00:00
un.h Added $Id$ 1994-08-02 07:55:43 +00:00
unistd.h Added $Id$ 1994-08-02 07:55:43 +00:00
unpcb.h Added $Id$ 1994-08-02 07:55:43 +00:00
user.h Added $Id$ 1994-08-02 07:55:43 +00:00
utsname.h Added $Id$ 1994-08-02 07:55:43 +00:00
vadvise.h Added $Id$ 1994-08-02 07:55:43 +00:00
vcmd.h Added $Id$ 1994-08-02 07:55:43 +00:00
vlimit.h Added $Id$ 1994-08-02 07:55:43 +00:00
vmmeter.h Added $Id$ 1994-08-02 07:55:43 +00:00
vnode.h Added $Id$ 1994-08-02 07:55:43 +00:00
vsio.h Added $Id$ 1994-08-02 07:55:43 +00:00
wait.h Added $Id$ 1994-08-02 07:55:43 +00:00