History log of /netbsd-current/include/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.146 04-Jun-2019 hannken

Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.

No functional change intended.


# 1.145 24-Apr-2019 roy

Don't install YP headers when MKYP=no


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.144 16-Oct-2017 maya

Add endian.h header. Simply includes sys/endian.h

<endian.h> has been accepted by the austin group.


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.143 02-Oct-2016 kamil

branches: 1.143.6;
Import <stdalign.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h>

According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines
four macros:
- alignas which expands to _Alignas
- alignof which expands to _Alignof
- __alignas_is_defined and __alignof_is_defined which both expand to 1

The _Alignas declaration appears as one of the type specifiers to modify
the alignment requirement of the object being declared.

The _Alignof operator is used to query the alignment requirement of its
operand type.

ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header
<cstdalign> which defines only __alignas_is_defined and shall not define
the alignas macro. It misses the alignof case as it's probably based on an
older C1x draft, which defined only alignas. Assume that this is a bug in
the standard and treat alignof the same way as alignas in C++11.

Allow to define alignas and alignof in C++ prior the C++11 standard. It
might be broken but a nonstandard C++ compiler might support C11-like
_Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.


# 1.142 02-Oct-2016 kamil

Import <stdnoreturn.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h>

According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the
noreturn macro which expands to _Noreturn.

The _Noreturn keyword appears in a function declaration and specifies
that the function does not return by reaching the end of the function
body.

Design choices:
- don't implicitly break C++ code including this header with #error
C++11 offers [[noreturn]] which conflicts with C11 _Noreturn

- don't check for __STDC_VERSION__, everybody is free to reuse it with
a nonstandard compiler not conforming to C11 but supporting _Noreturn

gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards

this follows <stdbool.h> choice for not checking for C99

- follow <stdbool.h> and declare the __noreturn_is_defined guard

- use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h>

Reviewed by <pgoyette> and <joerg>


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.141 29-Jul-2015 christos

branches: 1.141.2;
move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool,
centralize definitions of bool, true, false, to <sys/stdbool.h>


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.140 11-Dec-2013 joerg

Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.139 11-Feb-2012 martin

branches: 1.139.6;
Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.


# 1.138 05-Feb-2012 dholland

Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.


# 1.137 09-Jan-2012 dholland

Add <quota.h> with the new libquota API.

This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.136 26-Aug-2011 dyoung

branches: 1.136.2;
Build and install ppath(3), property-list paths library.


# 1.135 17-Jul-2011 joerg

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.


Revision tags: cherry-xenmp-base
# 1.134 24-Mar-2011 bouyer

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)


Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2
# 1.133 31-Jul-2010 joerg

Add support for fenv.h interface for i386 and amd64.

Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.


Revision tags: uebayasi-xip-base1
# 1.132 25-Apr-2010 joerg

Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base
# 1.131 28-May-2008 ad

branches: 1.131.8; 1.131.16;
/usr/include/atomic.h, for Solaris source compat.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
# 1.130 07-Sep-2007 rmind

branches: 1.130.6; 1.130.8;
Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>


# 1.129 20-Aug-2007 drochner

branches: 1.129.2;
Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.


Revision tags: matt-mips64-base
# 1.128 30-May-2007 tls

Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do. Goodbye, libssp
dependency in libraries and executables. Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.


# 1.127 30-Apr-2007 rmind

Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>


# 1.126 09-Feb-2007 ad

Sync with changes introduced by merging the newlock2 branch.


Revision tags: netbsd-4-base
# 1.125 30-Oct-2006 christos

branches: 1.125.2; 1.125.4;
kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.


Revision tags: abandoned-netbsd-4-base
# 1.124 02-Jun-2006 mrg

remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.


# 1.123 27-Apr-2006 thorpej

Install proplib include files.


# 1.122 07-Apr-2006 mrg

retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.


# 1.121 30-Dec-2005 agc

Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.


# 1.120 03-Apr-2005 christos

Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
of the getpwent_r bump.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.119 14-Dec-2004 nathanw

Nuke threadlib.h. Library defensive threading is now provided through the
normal pthread.h interface.
Move stubs for libc back into a libc-internal header.


# 1.118 13-Sep-2004 thorpej

DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.


# 1.117 13-Jul-2004 seb

Add wordexp(3). The wordexp function performs shell-style word expansions.
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.

From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@.


# 1.116 21-May-2004 christos

install new files.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.115 14-Oct-2003 tron

Replace symbolic link "/usr/include/varargs.h" (pointing to
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.

Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.


# 1.114 01-Oct-2003 christos

make some files symlinks from sys.


# 1.113 09-Sep-2003 itojun

add randomid(3).


# 1.112 27-Aug-2003 mrg

introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3. if this is set, we also set USE_TOOLS_TOOLCHAIN=no. change
the definition of the former to be restricted to whether tools/toolchain
is used or not.


# 1.111 26-Jul-2003 mrg

install stdbool.h if gcc3


# 1.110 27-Jun-2003 tshiozak

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).


# 1.109 22-Mar-2003 jdolecek

install mntopts.h


# 1.108 20-Jan-2003 christos

add support for p1003.1b semaphores. From FreeBSD


# 1.107 19-Jan-2003 thorpej

Expose libc's thread stubs, which get magically turned into real pthread
calls when the pthread library is linked in. Simplifies making other
libraries (such as X's) thread-safe.


# 1.106 18-Jan-2003 thorpej

Merge the nathanw_sa branch.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.105 18-Sep-2002 lukem

minor makefile delint


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.104 31-Mar-2002 bjh21

split /usr/include/sys/sha1.h and /usr/include/sha1.h completely.
future direction: nuke /usr/include/sys/sha1.h, it shouldn't be there as
we don't provide libkern to userland.

This mirrors the same change for md5.h made by itojun on 2000/12/11.


# 1.103 22-Mar-2002 thorpej

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.


# 1.102 22-Feb-2002 christos

A utmpx implementation.


# 1.101 04-Feb-2002 thorpej

Don't install <stdbool.h> for now. Lossage resulting from me testing
with a not-in-tree compiler.


# 1.100 02-Feb-2002 thorpej

ISO C / SUSv3 <stdbool.h>.


# 1.99 12-Dec-2001 tv

MKfoo=no -> NOfoo=


# 1.98 17-Jul-2001 thorpej

A <sched.h> file, which provides the clone(2) prototypes, in order
to be compatible with Linux.


# 1.97 28-Apr-2001 kleink

* Move definitions of exact-width integer types from <machine/types.h>
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.


# 1.96 19-Mar-2001 atatat

Add md2 routines to libc.


# 1.95 17-Feb-2001 ragge

branches: 1.95.2;
Don't handle ieeefp.h on vax.


# 1.94 21-Dec-2000 itojun

have dummy wctype.h and isw*/tow*. part of libc minor 68 -> 69 crank.
equivalent to is*/to* at this moment. we'll put wchar_t code in the
near future.


# 1.93 11-Dec-2000 itojun

split /usr/include/sys/md5.h and /usr/include/md5.h completely.
future direction: nuke /usr/include/sys/md5.h, it shouldn't be there as
we don't provide libkern to userland.


# 1.92 05-Jul-2000 ad

Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
MD5 and SHA1 stuff.


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.91 20-Jun-2000 thorpej

branches: 1.91.2;
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.


# 1.90 03-Jun-2000 fvdl

Use a seperate Makefile in the rpc/ subdir. Needed because it generates
a file (rpcb_prot.h).


# 1.89 03-Jun-2000 fvdl

Add missed include files.


# 1.88 03-Jun-2000 fvdl

Move rpcb_prot.x to here from libc/rpc.


# 1.87 02-Jun-2000 fvdl

Fix omission in previous.


# 1.86 02-Jun-2000 fvdl

New headers for the new RPC code (based on TI-RPC from Sun).


Revision tags: minoura-xpg4dl-base
# 1.85 20-Apr-2000 kleink

branches: 1.85.2;
* Move <wchar.h> from libcurses to include (for the missing functionality
is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.


# 1.84 01-Apr-2000 christos

Add getopt.h and collect all the getopt related stuff here.
Make unistd.h include <getopt.h> to get the getopt stuff.
This adds support for getopt_long from Dieter Baron and Thomas Klausner.


# 1.83 23-Feb-2000 itojun

add getifaddrs(3) from bsdi4, as mentioned in tech-net (in SIOCGIFCONF
related thread).
this will save future apps from complexity of SIOCGIFCONF.

getifaddrs(3) does not use SIOCGIFCONF internally, it uses sysctl.


# 1.82 12-Jan-2000 mjl

Add necessary support routines for login.conf.


# 1.81 10-Jan-2000 kleink

Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.


# 1.80 22-Dec-1999 kleink

For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above. As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.79 13-Sep-1999 kleink

Add an XSH5 ulimit()/<ulimit.h> implementation.


# 1.78 12-Sep-1999 kleink

Add an XSH5 fmtmsg() implementation.


# 1.77 20-Jul-1999 mrg

optionally include CRYPTOPATH Makefile.frag files.


# 1.76 12-Jul-1999 thorpej

Use bsd.crypto.mk.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.75 19-Mar-1999 thorpej

Move the link.h files for the different shlib formats via repository copy,
and rename them to match the executable format. Introduce a new link.h
file which automatically picks the correct header based on the target of
the toolchain.


# 1.74 13-Feb-1999 lukem

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.


# 1.73 15-Jan-1999 lukem

merge nsswitch into main branch


# 1.72 12-Jan-1999 kleink

Separate the userland and libsa errno declarations from <sys/errno.h> into
their canonical places.


# 1.71 02-Feb-1998 perry

merge lite-2


# 1.70 02-Nov-1997 kleink

Add <libgen.h> header, from XPG4.2.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.69 30-Apr-1997 thorpej

branches: 1.69.2;
Move md5.h to <sys/md5.h> so that it may be included by the kernel.
A symlink is used to preserve <md5.h> compatibility.


# 1.68 27-Mar-1997 mycroft

Install files via INCS, and GC the bogus permission fixing hack.


# 1.67 30-Jan-1997 thorpej

Install md4.h and md5.h


# 1.66 17-Jan-1997 lukem

A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.65 27-Dec-1996 pk

link.h no longer liver here


# 1.64 18-Dec-1996 cgd

install dlfcn.h on the Alpha, since the Alpha (with the ELF shared library
tools) provides the dl*() interfaces. the only remaining special-case header
is the a.out link.h, which should really be installed by the dynamic linker.


# 1.63 18-Oct-1996 thorpej

branches: 1.63.2;
Use ${INSTALL}.


# 1.62 29-Sep-1996 mrg

install sys headers from sys/Makefile.


# 1.61 07-Sep-1996 mycroft

Make a symlink for poll.h.


# 1.60 09-Aug-1996 jtc

install rmt.h


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.59 15-May-1996 jtc

Added new header files for functions in libutil.
Added macro for master passwd lock file.
From Greg Hudson <ghudson@MIT.EDU>.


# 1.58 10-May-1996 cgd

don't install dlfcn.h or link.h on the Alpha, because they make no
sense for that architecture. (It doesn't have dynamic linking or
shared libraries.)


# 1.57 25-Apr-1996 jtc

Use 'includes' instead of 'install' targets to install headers


# 1.56 05-Feb-1996 jtc

Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.55 05-Jun-1995 pk

Add dlfcn.h and alphabetize.


# 1.54 16-Apr-1995 mycroft

Follow symlinks when copying .h files. From Greg Hudson.


# 1.53 07-Apr-1995 jtc

New header file <ieeefp.h>, which provides a API for getting and setting
IEEE rounding mode, exception enable flags, and exception sticky flags.


# 1.52 17-Feb-1995 jtc

For Normative Addendum 1.
We have this cr*p because no one would sa "no" to the danes.


# 1.51 15-Jan-1995 jtc

fix tipo


# 1.50 12-Jan-1995 jtc

Use and .


# 1.49 03-Dec-1994 christos

Add netgroup.h


# 1.48 26-Oct-1994 cgd

new RCS ID format.


# 1.47 15-Oct-1994 cgd

make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE
# 1.46 29-Aug-1994 mycroft

branches: 1.46.2;
Simplify copying of sys include files.


# 1.45 21-Jul-1994 cgd

get permissions right on installed directories


# 1.44 08-Jul-1994 jtc

Use pax instead of two tar's to install ${MACHINE} and ${MACHINE_ARCH}
header files. It's faster, because the file data doesn't have to be
passed through a pipe; and it's cleaner, because pax's rich set of
features allows us to copy the files without changing directories, etc.


Revision tags: netbsd-1-0-base
# 1.43 22-Jun-1994 mycroft

branches: 1.43.2;
Fix the install for real. Note this uses pax(1).


# 1.42 22-Jun-1994 cgd

add bm header, from Bostic


# 1.41 21-Jun-1994 jtc

Added langinfo.h header for nl_langinfo() function


# 1.40 12-Jun-1994 cgd

make install work for copies, but hack it to work for symlinks


# 1.39 29-May-1994 jtc

Added nl_types.h for message catalog functions


# 1.38 16-May-1994 cgd

oops


# 1.37 16-May-1994 cgd

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those. Kill varargs.h, because it can simply
be a link to the machine-dependent version.


# 1.36 11-May-1994 cgd

user-land signal include file


# 1.35 31-Mar-1994 cgd

don't use MACHINE_ARCH if it's dir doesn't exist...


# 1.34 10-Feb-1994 cgd

clean things up some


# 1.33 10-Feb-1994 cgd

don't hide install -d, and make owner/group correct


# 1.32 12-Jan-1994 cgd

regexp.h should still be here, for things needing the compat lib.


# 1.31 08-Jan-1994 cgd

fix SYS_INCLUDE definition, and explicitly include bsd.own.mk.
minor cleanup, and add support for creating and/or symlinking
/usr/include/${MACHINE_ARCH} as necessary.


# 1.30 22-Dec-1993 cgd

add 'dev' to the list of LDIRS


# 1.29 12-Nov-1993 jtc

Install regex.h header.


# 1.28 21-Oct-1993 jtc

Added X/Open 1170's <search.h> header --- it only declares bsearch, insque,
and remque at this time. The remainder of the functions will be added as
time allows.


# 1.27 17-Oct-1993 pk

Moved <link.h> here from usr.bin/ld as it is needed by other modules
and utilities (eg. crt0, libc, nm).


# 1.26 09-Oct-1993 cgd

install the 2 includes in ./rpcsvc, too.


# 1.25 08-Oct-1993 cgd

move rpcsvc files and include generation into src/lib/librpcsvc


# 1.24 01-Oct-1993 jtc

Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.


# 1.23 16-Aug-1993 mycroft

Oops. `copies' was getting done before making /usr/include.


# 1.22 15-Aug-1993 mycroft

There would have to be just one Makefile in the entire tree which referenced
_PROGSUBDIR. GRRRRRR.


# 1.21 01-Aug-1993 mycroft

Add RCS identifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.20 10-Jul-1993 brezak

Allow SYS_INCLUDES={copies,symlinks} choice in bsd.own.mk.


# 1.19 16-Jun-1993 mycroft

Don't forget to install fnmatch.h.


# 1.18 07-Jun-1993 deraadt

install incluide files mode 644


# 1.17 26-May-1993 deraadt

install /usr/include/malloc.h!


# 1.16 18-May-1993 cgd

change for 'arch'


# 1.15 06-May-1993 proven

ftp put doesn't cleanly truncate and overwrite a file.


# 1.14 06-May-1993 proven

rpc directory installs now.


# 1.13 05-May-1993 proven

Set permissions and ownership all at once. (No more directories mode 0777)


# 1.12 01-May-1993 mycroft

Don't forget to install err.h.


# 1.11 28-Apr-1993 cgd

changed sys.386bsd to sys


# 1.10 26-Apr-1993 mycroft

Install mpool.h.


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.9 09-Apr-1993 cgd

added netccitt, netiso, and netns support, from (currently
alpha) patch 126


# 1.8 09-Apr-1993 cgd

make sure directory to install stuff exists before installing


# 1.7 04-Apr-1993 cgd

now that we have subdirs, need to do them on install, too...


# 1.6 04-Apr-1993 cgd

updated for addition of rpcsvc


# 1.5 31-Mar-1993 cgd

install of include subdirs from sys.386bsd now done relative to current
dir, rather than from /sys.


# 1.4 23-Mar-1993 cgd

marked dirs netimp, netiso, and netns as "missing" from LDIRS


# 1.3 22-Mar-1993 cgd

added "vm" to list of subdirs of /usr/include, and made a minor
cleanup so /usr/include/machine is handled right w/different types
of installs (links vs. copies).


# 1.2 22-Mar-1993 cgd

made install copy, rather than symlink includes


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.145 24-Apr-2019 roy

Don't install YP headers when MKYP=no


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.144 16-Oct-2017 maya

Add endian.h header. Simply includes sys/endian.h

<endian.h> has been accepted by the austin group.


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.143 02-Oct-2016 kamil

branches: 1.143.6;
Import <stdalign.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h>

According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines
four macros:
- alignas which expands to _Alignas
- alignof which expands to _Alignof
- __alignas_is_defined and __alignof_is_defined which both expand to 1

The _Alignas declaration appears as one of the type specifiers to modify
the alignment requirement of the object being declared.

The _Alignof operator is used to query the alignment requirement of its
operand type.

ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header
<cstdalign> which defines only __alignas_is_defined and shall not define
the alignas macro. It misses the alignof case as it's probably based on an
older C1x draft, which defined only alignas. Assume that this is a bug in
the standard and treat alignof the same way as alignas in C++11.

Allow to define alignas and alignof in C++ prior the C++11 standard. It
might be broken but a nonstandard C++ compiler might support C11-like
_Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.


# 1.142 02-Oct-2016 kamil

Import <stdnoreturn.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h>

According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the
noreturn macro which expands to _Noreturn.

The _Noreturn keyword appears in a function declaration and specifies
that the function does not return by reaching the end of the function
body.

Design choices:
- don't implicitly break C++ code including this header with #error
C++11 offers [[noreturn]] which conflicts with C11 _Noreturn

- don't check for __STDC_VERSION__, everybody is free to reuse it with
a nonstandard compiler not conforming to C11 but supporting _Noreturn

gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards

this follows <stdbool.h> choice for not checking for C99

- follow <stdbool.h> and declare the __noreturn_is_defined guard

- use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h>

Reviewed by <pgoyette> and <joerg>


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.141 29-Jul-2015 christos

branches: 1.141.2;
move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool,
centralize definitions of bool, true, false, to <sys/stdbool.h>


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.140 11-Dec-2013 joerg

Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.139 11-Feb-2012 martin

branches: 1.139.6;
Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.


# 1.138 05-Feb-2012 dholland

Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.


# 1.137 09-Jan-2012 dholland

Add <quota.h> with the new libquota API.

This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.136 26-Aug-2011 dyoung

branches: 1.136.2;
Build and install ppath(3), property-list paths library.


# 1.135 17-Jul-2011 joerg

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.


Revision tags: cherry-xenmp-base
# 1.134 24-Mar-2011 bouyer

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)


Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2
# 1.133 31-Jul-2010 joerg

Add support for fenv.h interface for i386 and amd64.

Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.


Revision tags: uebayasi-xip-base1
# 1.132 25-Apr-2010 joerg

Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base
# 1.131 28-May-2008 ad

branches: 1.131.8; 1.131.16;
/usr/include/atomic.h, for Solaris source compat.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
# 1.130 07-Sep-2007 rmind

branches: 1.130.6; 1.130.8;
Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>


# 1.129 20-Aug-2007 drochner

branches: 1.129.2;
Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.


Revision tags: matt-mips64-base
# 1.128 30-May-2007 tls

Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do. Goodbye, libssp
dependency in libraries and executables. Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.


# 1.127 30-Apr-2007 rmind

Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>


# 1.126 09-Feb-2007 ad

Sync with changes introduced by merging the newlock2 branch.


Revision tags: netbsd-4-base
# 1.125 30-Oct-2006 christos

branches: 1.125.2; 1.125.4;
kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.


Revision tags: abandoned-netbsd-4-base
# 1.124 02-Jun-2006 mrg

remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.


# 1.123 27-Apr-2006 thorpej

Install proplib include files.


# 1.122 07-Apr-2006 mrg

retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.


# 1.121 30-Dec-2005 agc

Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.


# 1.120 03-Apr-2005 christos

Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
of the getpwent_r bump.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.119 14-Dec-2004 nathanw

Nuke threadlib.h. Library defensive threading is now provided through the
normal pthread.h interface.
Move stubs for libc back into a libc-internal header.


# 1.118 13-Sep-2004 thorpej

DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.


# 1.117 13-Jul-2004 seb

Add wordexp(3). The wordexp function performs shell-style word expansions.
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.

From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@.


# 1.116 21-May-2004 christos

install new files.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.115 14-Oct-2003 tron

Replace symbolic link "/usr/include/varargs.h" (pointing to
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.

Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.


# 1.114 01-Oct-2003 christos

make some files symlinks from sys.


# 1.113 09-Sep-2003 itojun

add randomid(3).


# 1.112 27-Aug-2003 mrg

introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3. if this is set, we also set USE_TOOLS_TOOLCHAIN=no. change
the definition of the former to be restricted to whether tools/toolchain
is used or not.


# 1.111 26-Jul-2003 mrg

install stdbool.h if gcc3


# 1.110 27-Jun-2003 tshiozak

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).


# 1.109 22-Mar-2003 jdolecek

install mntopts.h


# 1.108 20-Jan-2003 christos

add support for p1003.1b semaphores. From FreeBSD


# 1.107 19-Jan-2003 thorpej

Expose libc's thread stubs, which get magically turned into real pthread
calls when the pthread library is linked in. Simplifies making other
libraries (such as X's) thread-safe.


# 1.106 18-Jan-2003 thorpej

Merge the nathanw_sa branch.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.105 18-Sep-2002 lukem

minor makefile delint


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.104 31-Mar-2002 bjh21

split /usr/include/sys/sha1.h and /usr/include/sha1.h completely.
future direction: nuke /usr/include/sys/sha1.h, it shouldn't be there as
we don't provide libkern to userland.

This mirrors the same change for md5.h made by itojun on 2000/12/11.


# 1.103 22-Mar-2002 thorpej

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.


# 1.102 22-Feb-2002 christos

A utmpx implementation.


# 1.101 04-Feb-2002 thorpej

Don't install <stdbool.h> for now. Lossage resulting from me testing
with a not-in-tree compiler.


# 1.100 02-Feb-2002 thorpej

ISO C / SUSv3 <stdbool.h>.


# 1.99 12-Dec-2001 tv

MKfoo=no -> NOfoo=


# 1.98 17-Jul-2001 thorpej

A <sched.h> file, which provides the clone(2) prototypes, in order
to be compatible with Linux.


# 1.97 28-Apr-2001 kleink

* Move definitions of exact-width integer types from <machine/types.h>
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.


# 1.96 19-Mar-2001 atatat

Add md2 routines to libc.


# 1.95 17-Feb-2001 ragge

branches: 1.95.2;
Don't handle ieeefp.h on vax.


# 1.94 21-Dec-2000 itojun

have dummy wctype.h and isw*/tow*. part of libc minor 68 -> 69 crank.
equivalent to is*/to* at this moment. we'll put wchar_t code in the
near future.


# 1.93 11-Dec-2000 itojun

split /usr/include/sys/md5.h and /usr/include/md5.h completely.
future direction: nuke /usr/include/sys/md5.h, it shouldn't be there as
we don't provide libkern to userland.


# 1.92 05-Jul-2000 ad

Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
MD5 and SHA1 stuff.


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.91 20-Jun-2000 thorpej

branches: 1.91.2;
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.


# 1.90 03-Jun-2000 fvdl

Use a seperate Makefile in the rpc/ subdir. Needed because it generates
a file (rpcb_prot.h).


# 1.89 03-Jun-2000 fvdl

Add missed include files.


# 1.88 03-Jun-2000 fvdl

Move rpcb_prot.x to here from libc/rpc.


# 1.87 02-Jun-2000 fvdl

Fix omission in previous.


# 1.86 02-Jun-2000 fvdl

New headers for the new RPC code (based on TI-RPC from Sun).


Revision tags: minoura-xpg4dl-base
# 1.85 20-Apr-2000 kleink

branches: 1.85.2;
* Move <wchar.h> from libcurses to include (for the missing functionality
is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.


# 1.84 01-Apr-2000 christos

Add getopt.h and collect all the getopt related stuff here.
Make unistd.h include <getopt.h> to get the getopt stuff.
This adds support for getopt_long from Dieter Baron and Thomas Klausner.


# 1.83 23-Feb-2000 itojun

add getifaddrs(3) from bsdi4, as mentioned in tech-net (in SIOCGIFCONF
related thread).
this will save future apps from complexity of SIOCGIFCONF.

getifaddrs(3) does not use SIOCGIFCONF internally, it uses sysctl.


# 1.82 12-Jan-2000 mjl

Add necessary support routines for login.conf.


# 1.81 10-Jan-2000 kleink

Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.


# 1.80 22-Dec-1999 kleink

For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above. As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.79 13-Sep-1999 kleink

Add an XSH5 ulimit()/<ulimit.h> implementation.


# 1.78 12-Sep-1999 kleink

Add an XSH5 fmtmsg() implementation.


# 1.77 20-Jul-1999 mrg

optionally include CRYPTOPATH Makefile.frag files.


# 1.76 12-Jul-1999 thorpej

Use bsd.crypto.mk.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.75 19-Mar-1999 thorpej

Move the link.h files for the different shlib formats via repository copy,
and rename them to match the executable format. Introduce a new link.h
file which automatically picks the correct header based on the target of
the toolchain.


# 1.74 13-Feb-1999 lukem

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.


# 1.73 15-Jan-1999 lukem

merge nsswitch into main branch


# 1.72 12-Jan-1999 kleink

Separate the userland and libsa errno declarations from <sys/errno.h> into
their canonical places.


# 1.71 02-Feb-1998 perry

merge lite-2


# 1.70 02-Nov-1997 kleink

Add <libgen.h> header, from XPG4.2.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.69 30-Apr-1997 thorpej

branches: 1.69.2;
Move md5.h to <sys/md5.h> so that it may be included by the kernel.
A symlink is used to preserve <md5.h> compatibility.


# 1.68 27-Mar-1997 mycroft

Install files via INCS, and GC the bogus permission fixing hack.


# 1.67 30-Jan-1997 thorpej

Install md4.h and md5.h


# 1.66 17-Jan-1997 lukem

A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.65 27-Dec-1996 pk

link.h no longer liver here


# 1.64 18-Dec-1996 cgd

install dlfcn.h on the Alpha, since the Alpha (with the ELF shared library
tools) provides the dl*() interfaces. the only remaining special-case header
is the a.out link.h, which should really be installed by the dynamic linker.


# 1.63 18-Oct-1996 thorpej

branches: 1.63.2;
Use ${INSTALL}.


# 1.62 29-Sep-1996 mrg

install sys headers from sys/Makefile.


# 1.61 07-Sep-1996 mycroft

Make a symlink for poll.h.


# 1.60 09-Aug-1996 jtc

install rmt.h


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.59 15-May-1996 jtc

Added new header files for functions in libutil.
Added macro for master passwd lock file.
From Greg Hudson <ghudson@MIT.EDU>.


# 1.58 10-May-1996 cgd

don't install dlfcn.h or link.h on the Alpha, because they make no
sense for that architecture. (It doesn't have dynamic linking or
shared libraries.)


# 1.57 25-Apr-1996 jtc

Use 'includes' instead of 'install' targets to install headers


# 1.56 05-Feb-1996 jtc

Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.55 05-Jun-1995 pk

Add dlfcn.h and alphabetize.


# 1.54 16-Apr-1995 mycroft

Follow symlinks when copying .h files. From Greg Hudson.


# 1.53 07-Apr-1995 jtc

New header file <ieeefp.h>, which provides a API for getting and setting
IEEE rounding mode, exception enable flags, and exception sticky flags.


# 1.52 17-Feb-1995 jtc

For Normative Addendum 1.
We have this cr*p because no one would sa "no" to the danes.


# 1.51 15-Jan-1995 jtc

fix tipo


# 1.50 12-Jan-1995 jtc

Use and .


# 1.49 03-Dec-1994 christos

Add netgroup.h


# 1.48 26-Oct-1994 cgd

new RCS ID format.


# 1.47 15-Oct-1994 cgd

make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE
# 1.46 29-Aug-1994 mycroft

branches: 1.46.2;
Simplify copying of sys include files.


# 1.45 21-Jul-1994 cgd

get permissions right on installed directories


# 1.44 08-Jul-1994 jtc

Use pax instead of two tar's to install ${MACHINE} and ${MACHINE_ARCH}
header files. It's faster, because the file data doesn't have to be
passed through a pipe; and it's cleaner, because pax's rich set of
features allows us to copy the files without changing directories, etc.


Revision tags: netbsd-1-0-base
# 1.43 22-Jun-1994 mycroft

branches: 1.43.2;
Fix the install for real. Note this uses pax(1).


# 1.42 22-Jun-1994 cgd

add bm header, from Bostic


# 1.41 21-Jun-1994 jtc

Added langinfo.h header for nl_langinfo() function


# 1.40 12-Jun-1994 cgd

make install work for copies, but hack it to work for symlinks


# 1.39 29-May-1994 jtc

Added nl_types.h for message catalog functions


# 1.38 16-May-1994 cgd

oops


# 1.37 16-May-1994 cgd

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those. Kill varargs.h, because it can simply
be a link to the machine-dependent version.


# 1.36 11-May-1994 cgd

user-land signal include file


# 1.35 31-Mar-1994 cgd

don't use MACHINE_ARCH if it's dir doesn't exist...


# 1.34 10-Feb-1994 cgd

clean things up some


# 1.33 10-Feb-1994 cgd

don't hide install -d, and make owner/group correct


# 1.32 12-Jan-1994 cgd

regexp.h should still be here, for things needing the compat lib.


# 1.31 08-Jan-1994 cgd

fix SYS_INCLUDE definition, and explicitly include bsd.own.mk.
minor cleanup, and add support for creating and/or symlinking
/usr/include/${MACHINE_ARCH} as necessary.


# 1.30 22-Dec-1993 cgd

add 'dev' to the list of LDIRS


# 1.29 12-Nov-1993 jtc

Install regex.h header.


# 1.28 21-Oct-1993 jtc

Added X/Open 1170's <search.h> header --- it only declares bsearch, insque,
and remque at this time. The remainder of the functions will be added as
time allows.


# 1.27 17-Oct-1993 pk

Moved <link.h> here from usr.bin/ld as it is needed by other modules
and utilities (eg. crt0, libc, nm).


# 1.26 09-Oct-1993 cgd

install the 2 includes in ./rpcsvc, too.


# 1.25 08-Oct-1993 cgd

move rpcsvc files and include generation into src/lib/librpcsvc


# 1.24 01-Oct-1993 jtc

Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.


# 1.23 16-Aug-1993 mycroft

Oops. `copies' was getting done before making /usr/include.


# 1.22 15-Aug-1993 mycroft

There would have to be just one Makefile in the entire tree which referenced
_PROGSUBDIR. GRRRRRR.


# 1.21 01-Aug-1993 mycroft

Add RCS identifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.20 10-Jul-1993 brezak

Allow SYS_INCLUDES={copies,symlinks} choice in bsd.own.mk.


# 1.19 16-Jun-1993 mycroft

Don't forget to install fnmatch.h.


# 1.18 07-Jun-1993 deraadt

install incluide files mode 644


# 1.17 26-May-1993 deraadt

install /usr/include/malloc.h!


# 1.16 18-May-1993 cgd

change for 'arch'


# 1.15 06-May-1993 proven

ftp put doesn't cleanly truncate and overwrite a file.


# 1.14 06-May-1993 proven

rpc directory installs now.


# 1.13 05-May-1993 proven

Set permissions and ownership all at once. (No more directories mode 0777)


# 1.12 01-May-1993 mycroft

Don't forget to install err.h.


# 1.11 28-Apr-1993 cgd

changed sys.386bsd to sys


# 1.10 26-Apr-1993 mycroft

Install mpool.h.


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.9 09-Apr-1993 cgd

added netccitt, netiso, and netns support, from (currently
alpha) patch 126


# 1.8 09-Apr-1993 cgd

make sure directory to install stuff exists before installing


# 1.7 04-Apr-1993 cgd

now that we have subdirs, need to do them on install, too...


# 1.6 04-Apr-1993 cgd

updated for addition of rpcsvc


# 1.5 31-Mar-1993 cgd

install of include subdirs from sys.386bsd now done relative to current
dir, rather than from /sys.


# 1.4 23-Mar-1993 cgd

marked dirs netimp, netiso, and netns as "missing" from LDIRS


# 1.3 22-Mar-1993 cgd

added "vm" to list of subdirs of /usr/include, and made a minor
cleanup so /usr/include/machine is handled right w/different types
of installs (links vs. copies).


# 1.2 22-Mar-1993 cgd

made install copy, rather than symlink includes


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.144 16-Oct-2017 maya

Add endian.h header. Simply includes sys/endian.h

<endian.h> has been accepted by the austin group.


Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.143 02-Oct-2016 kamil

Import <stdalign.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h>

According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines
four macros:
- alignas which expands to _Alignas
- alignof which expands to _Alignof
- __alignas_is_defined and __alignof_is_defined which both expand to 1

The _Alignas declaration appears as one of the type specifiers to modify
the alignment requirement of the object being declared.

The _Alignof operator is used to query the alignment requirement of its
operand type.

ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header
<cstdalign> which defines only __alignas_is_defined and shall not define
the alignas macro. It misses the alignof case as it's probably based on an
older C1x draft, which defined only alignas. Assume that this is a bug in
the standard and treat alignof the same way as alignas in C++11.

Allow to define alignas and alignof in C++ prior the C++11 standard. It
might be broken but a nonstandard C++ compiler might support C11-like
_Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.


# 1.142 02-Oct-2016 kamil

Import <stdnoreturn.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h>

According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the
noreturn macro which expands to _Noreturn.

The _Noreturn keyword appears in a function declaration and specifies
that the function does not return by reaching the end of the function
body.

Design choices:
- don't implicitly break C++ code including this header with #error
C++11 offers [[noreturn]] which conflicts with C11 _Noreturn

- don't check for __STDC_VERSION__, everybody is free to reuse it with
a nonstandard compiler not conforming to C11 but supporting _Noreturn

gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards

this follows <stdbool.h> choice for not checking for C99

- follow <stdbool.h> and declare the __noreturn_is_defined guard

- use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h>

Reviewed by <pgoyette> and <joerg>


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.141 29-Jul-2015 christos

branches: 1.141.2;
move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool,
centralize definitions of bool, true, false, to <sys/stdbool.h>


Revision tags: netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.140 11-Dec-2013 joerg

Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.139 11-Feb-2012 martin

branches: 1.139.6;
Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.


# 1.138 05-Feb-2012 dholland

Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.


# 1.137 09-Jan-2012 dholland

Add <quota.h> with the new libquota API.

This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.136 26-Aug-2011 dyoung

branches: 1.136.2;
Build and install ppath(3), property-list paths library.


# 1.135 17-Jul-2011 joerg

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.


Revision tags: cherry-xenmp-base
# 1.134 24-Mar-2011 bouyer

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)


Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2
# 1.133 31-Jul-2010 joerg

Add support for fenv.h interface for i386 and amd64.

Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.


Revision tags: uebayasi-xip-base1
# 1.132 25-Apr-2010 joerg

Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base
# 1.131 28-May-2008 ad

branches: 1.131.8; 1.131.16;
/usr/include/atomic.h, for Solaris source compat.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
# 1.130 07-Sep-2007 rmind

branches: 1.130.6; 1.130.8;
Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>


# 1.129 20-Aug-2007 drochner

branches: 1.129.2;
Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.


Revision tags: matt-mips64-base
# 1.128 30-May-2007 tls

Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do. Goodbye, libssp
dependency in libraries and executables. Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.


# 1.127 30-Apr-2007 rmind

Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>


# 1.126 09-Feb-2007 ad

Sync with changes introduced by merging the newlock2 branch.


Revision tags: netbsd-4-base
# 1.125 30-Oct-2006 christos

branches: 1.125.2; 1.125.4;
kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.


Revision tags: abandoned-netbsd-4-base
# 1.124 02-Jun-2006 mrg

remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.


# 1.123 27-Apr-2006 thorpej

Install proplib include files.


# 1.122 07-Apr-2006 mrg

retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.


# 1.121 30-Dec-2005 agc

Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.


# 1.120 03-Apr-2005 christos

Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
of the getpwent_r bump.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.119 14-Dec-2004 nathanw

Nuke threadlib.h. Library defensive threading is now provided through the
normal pthread.h interface.
Move stubs for libc back into a libc-internal header.


# 1.118 13-Sep-2004 thorpej

DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.


# 1.117 13-Jul-2004 seb

Add wordexp(3). The wordexp function performs shell-style word expansions.
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.

From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@.


# 1.116 21-May-2004 christos

install new files.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.115 14-Oct-2003 tron

Replace symbolic link "/usr/include/varargs.h" (pointing to
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.

Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.


# 1.114 01-Oct-2003 christos

make some files symlinks from sys.


# 1.113 09-Sep-2003 itojun

add randomid(3).


# 1.112 27-Aug-2003 mrg

introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3. if this is set, we also set USE_TOOLS_TOOLCHAIN=no. change
the definition of the former to be restricted to whether tools/toolchain
is used or not.


# 1.111 26-Jul-2003 mrg

install stdbool.h if gcc3


# 1.110 27-Jun-2003 tshiozak

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).


# 1.109 22-Mar-2003 jdolecek

install mntopts.h


# 1.108 20-Jan-2003 christos

add support for p1003.1b semaphores. From FreeBSD


# 1.107 19-Jan-2003 thorpej

Expose libc's thread stubs, which get magically turned into real pthread
calls when the pthread library is linked in. Simplifies making other
libraries (such as X's) thread-safe.


# 1.106 18-Jan-2003 thorpej

Merge the nathanw_sa branch.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.105 18-Sep-2002 lukem

minor makefile delint


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.104 31-Mar-2002 bjh21

split /usr/include/sys/sha1.h and /usr/include/sha1.h completely.
future direction: nuke /usr/include/sys/sha1.h, it shouldn't be there as
we don't provide libkern to userland.

This mirrors the same change for md5.h made by itojun on 2000/12/11.


# 1.103 22-Mar-2002 thorpej

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.


# 1.102 22-Feb-2002 christos

A utmpx implementation.


# 1.101 04-Feb-2002 thorpej

Don't install <stdbool.h> for now. Lossage resulting from me testing
with a not-in-tree compiler.


# 1.100 02-Feb-2002 thorpej

ISO C / SUSv3 <stdbool.h>.


# 1.99 12-Dec-2001 tv

MKfoo=no -> NOfoo=


# 1.98 17-Jul-2001 thorpej

A <sched.h> file, which provides the clone(2) prototypes, in order
to be compatible with Linux.


# 1.97 28-Apr-2001 kleink

* Move definitions of exact-width integer types from <machine/types.h>
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.


# 1.96 19-Mar-2001 atatat

Add md2 routines to libc.


# 1.95 17-Feb-2001 ragge

branches: 1.95.2;
Don't handle ieeefp.h on vax.


# 1.94 21-Dec-2000 itojun

have dummy wctype.h and isw*/tow*. part of libc minor 68 -> 69 crank.
equivalent to is*/to* at this moment. we'll put wchar_t code in the
near future.


# 1.93 11-Dec-2000 itojun

split /usr/include/sys/md5.h and /usr/include/md5.h completely.
future direction: nuke /usr/include/sys/md5.h, it shouldn't be there as
we don't provide libkern to userland.


# 1.92 05-Jul-2000 ad

Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
MD5 and SHA1 stuff.


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.91 20-Jun-2000 thorpej

branches: 1.91.2;
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.


# 1.90 03-Jun-2000 fvdl

Use a seperate Makefile in the rpc/ subdir. Needed because it generates
a file (rpcb_prot.h).


# 1.89 03-Jun-2000 fvdl

Add missed include files.


# 1.88 03-Jun-2000 fvdl

Move rpcb_prot.x to here from libc/rpc.


# 1.87 02-Jun-2000 fvdl

Fix omission in previous.


# 1.86 02-Jun-2000 fvdl

New headers for the new RPC code (based on TI-RPC from Sun).


Revision tags: minoura-xpg4dl-base
# 1.85 20-Apr-2000 kleink

branches: 1.85.2;
* Move <wchar.h> from libcurses to include (for the missing functionality
is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.


# 1.84 01-Apr-2000 christos

Add getopt.h and collect all the getopt related stuff here.
Make unistd.h include <getopt.h> to get the getopt stuff.
This adds support for getopt_long from Dieter Baron and Thomas Klausner.


# 1.83 23-Feb-2000 itojun

add getifaddrs(3) from bsdi4, as mentioned in tech-net (in SIOCGIFCONF
related thread).
this will save future apps from complexity of SIOCGIFCONF.

getifaddrs(3) does not use SIOCGIFCONF internally, it uses sysctl.


# 1.82 12-Jan-2000 mjl

Add necessary support routines for login.conf.


# 1.81 10-Jan-2000 kleink

Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.


# 1.80 22-Dec-1999 kleink

For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above. As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.79 13-Sep-1999 kleink

Add an XSH5 ulimit()/<ulimit.h> implementation.


# 1.78 12-Sep-1999 kleink

Add an XSH5 fmtmsg() implementation.


# 1.77 20-Jul-1999 mrg

optionally include CRYPTOPATH Makefile.frag files.


# 1.76 12-Jul-1999 thorpej

Use bsd.crypto.mk.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.75 19-Mar-1999 thorpej

Move the link.h files for the different shlib formats via repository copy,
and rename them to match the executable format. Introduce a new link.h
file which automatically picks the correct header based on the target of
the toolchain.


# 1.74 13-Feb-1999 lukem

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.


# 1.73 15-Jan-1999 lukem

merge nsswitch into main branch


# 1.72 12-Jan-1999 kleink

Separate the userland and libsa errno declarations from <sys/errno.h> into
their canonical places.


# 1.71 02-Feb-1998 perry

merge lite-2


# 1.70 02-Nov-1997 kleink

Add <libgen.h> header, from XPG4.2.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.69 30-Apr-1997 thorpej

branches: 1.69.2;
Move md5.h to <sys/md5.h> so that it may be included by the kernel.
A symlink is used to preserve <md5.h> compatibility.


# 1.68 27-Mar-1997 mycroft

Install files via INCS, and GC the bogus permission fixing hack.


# 1.67 30-Jan-1997 thorpej

Install md4.h and md5.h


# 1.66 17-Jan-1997 lukem

A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.65 27-Dec-1996 pk

link.h no longer liver here


# 1.64 18-Dec-1996 cgd

install dlfcn.h on the Alpha, since the Alpha (with the ELF shared library
tools) provides the dl*() interfaces. the only remaining special-case header
is the a.out link.h, which should really be installed by the dynamic linker.


# 1.63 18-Oct-1996 thorpej

branches: 1.63.2;
Use ${INSTALL}.


# 1.62 29-Sep-1996 mrg

install sys headers from sys/Makefile.


# 1.61 07-Sep-1996 mycroft

Make a symlink for poll.h.


# 1.60 09-Aug-1996 jtc

install rmt.h


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.59 15-May-1996 jtc

Added new header files for functions in libutil.
Added macro for master passwd lock file.
From Greg Hudson <ghudson@MIT.EDU>.


# 1.58 10-May-1996 cgd

don't install dlfcn.h or link.h on the Alpha, because they make no
sense for that architecture. (It doesn't have dynamic linking or
shared libraries.)


# 1.57 25-Apr-1996 jtc

Use 'includes' instead of 'install' targets to install headers


# 1.56 05-Feb-1996 jtc

Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.55 05-Jun-1995 pk

Add dlfcn.h and alphabetize.


# 1.54 16-Apr-1995 mycroft

Follow symlinks when copying .h files. From Greg Hudson.


# 1.53 07-Apr-1995 jtc

New header file <ieeefp.h>, which provides a API for getting and setting
IEEE rounding mode, exception enable flags, and exception sticky flags.


# 1.52 17-Feb-1995 jtc

For Normative Addendum 1.
We have this cr*p because no one would sa "no" to the danes.


# 1.51 15-Jan-1995 jtc

fix tipo


# 1.50 12-Jan-1995 jtc

Use and .


# 1.49 03-Dec-1994 christos

Add netgroup.h


# 1.48 26-Oct-1994 cgd

new RCS ID format.


# 1.47 15-Oct-1994 cgd

make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE
# 1.46 29-Aug-1994 mycroft

branches: 1.46.2;
Simplify copying of sys include files.


# 1.45 21-Jul-1994 cgd

get permissions right on installed directories


# 1.44 08-Jul-1994 jtc

Use pax instead of two tar's to install ${MACHINE} and ${MACHINE_ARCH}
header files. It's faster, because the file data doesn't have to be
passed through a pipe; and it's cleaner, because pax's rich set of
features allows us to copy the files without changing directories, etc.


Revision tags: netbsd-1-0-base
# 1.43 22-Jun-1994 mycroft

branches: 1.43.2;
Fix the install for real. Note this uses pax(1).


# 1.42 22-Jun-1994 cgd

add bm header, from Bostic


# 1.41 21-Jun-1994 jtc

Added langinfo.h header for nl_langinfo() function


# 1.40 12-Jun-1994 cgd

make install work for copies, but hack it to work for symlinks


# 1.39 29-May-1994 jtc

Added nl_types.h for message catalog functions


# 1.38 16-May-1994 cgd

oops


# 1.37 16-May-1994 cgd

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those. Kill varargs.h, because it can simply
be a link to the machine-dependent version.


# 1.36 11-May-1994 cgd

user-land signal include file


# 1.35 31-Mar-1994 cgd

don't use MACHINE_ARCH if it's dir doesn't exist...


# 1.34 10-Feb-1994 cgd

clean things up some


# 1.33 10-Feb-1994 cgd

don't hide install -d, and make owner/group correct


# 1.32 12-Jan-1994 cgd

regexp.h should still be here, for things needing the compat lib.


# 1.31 08-Jan-1994 cgd

fix SYS_INCLUDE definition, and explicitly include bsd.own.mk.
minor cleanup, and add support for creating and/or symlinking
/usr/include/${MACHINE_ARCH} as necessary.


# 1.30 22-Dec-1993 cgd

add 'dev' to the list of LDIRS


# 1.29 12-Nov-1993 jtc

Install regex.h header.


# 1.28 21-Oct-1993 jtc

Added X/Open 1170's <search.h> header --- it only declares bsearch, insque,
and remque at this time. The remainder of the functions will be added as
time allows.


# 1.27 17-Oct-1993 pk

Moved <link.h> here from usr.bin/ld as it is needed by other modules
and utilities (eg. crt0, libc, nm).


# 1.26 09-Oct-1993 cgd

install the 2 includes in ./rpcsvc, too.


# 1.25 08-Oct-1993 cgd

move rpcsvc files and include generation into src/lib/librpcsvc


# 1.24 01-Oct-1993 jtc

Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.


# 1.23 16-Aug-1993 mycroft

Oops. `copies' was getting done before making /usr/include.


# 1.22 15-Aug-1993 mycroft

There would have to be just one Makefile in the entire tree which referenced
_PROGSUBDIR. GRRRRRR.


# 1.21 01-Aug-1993 mycroft

Add RCS identifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.20 10-Jul-1993 brezak

Allow SYS_INCLUDES={copies,symlinks} choice in bsd.own.mk.


# 1.19 16-Jun-1993 mycroft

Don't forget to install fnmatch.h.


# 1.18 07-Jun-1993 deraadt

install incluide files mode 644


# 1.17 26-May-1993 deraadt

install /usr/include/malloc.h!


# 1.16 18-May-1993 cgd

change for 'arch'


# 1.15 06-May-1993 proven

ftp put doesn't cleanly truncate and overwrite a file.


# 1.14 06-May-1993 proven

rpc directory installs now.


# 1.13 05-May-1993 proven

Set permissions and ownership all at once. (No more directories mode 0777)


# 1.12 01-May-1993 mycroft

Don't forget to install err.h.


# 1.11 28-Apr-1993 cgd

changed sys.386bsd to sys


# 1.10 26-Apr-1993 mycroft

Install mpool.h.


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.9 09-Apr-1993 cgd

added netccitt, netiso, and netns support, from (currently
alpha) patch 126


# 1.8 09-Apr-1993 cgd

make sure directory to install stuff exists before installing


# 1.7 04-Apr-1993 cgd

now that we have subdirs, need to do them on install, too...


# 1.6 04-Apr-1993 cgd

updated for addition of rpcsvc


# 1.5 31-Mar-1993 cgd

install of include subdirs from sys.386bsd now done relative to current
dir, rather than from /sys.


# 1.4 23-Mar-1993 cgd

marked dirs netimp, netiso, and netns as "missing" from LDIRS


# 1.3 22-Mar-1993 cgd

added "vm" to list of subdirs of /usr/include, and made a minor
cleanup so /usr/include/machine is handled right w/different types
of installs (links vs. copies).


# 1.2 22-Mar-1993 cgd

made install copy, rather than symlink includes


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


Revision tags: pgoyette-localcount-20161104
# 1.143 02-Oct-2016 kamil

Import <stdalign.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h>

According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines
four macros:
- alignas which expands to _Alignas
- alignof which expands to _Alignof
- __alignas_is_defined and __alignof_is_defined which both expand to 1

The _Alignas declaration appears as one of the type specifiers to modify
the alignment requirement of the object being declared.

The _Alignof operator is used to query the alignment requirement of its
operand type.

ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header
<cstdalign> which defines only __alignas_is_defined and shall not define
the alignas macro. It misses the alignof case as it's probably based on an
older C1x draft, which defined only alignas. Assume that this is a bug in
the standard and treat alignof the same way as alignas in C++11.

Allow to define alignas and alignof in C++ prior the C++11 standard. It
might be broken but a nonstandard C++ compiler might support C11-like
_Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.


# 1.142 02-Oct-2016 kamil

Import <stdnoreturn.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h>

According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the
noreturn macro which expands to _Noreturn.

The _Noreturn keyword appears in a function declaration and specifies
that the function does not return by reaching the end of the function
body.

Design choices:
- don't implicitly break C++ code including this header with #error
C++11 offers [[noreturn]] which conflicts with C11 _Noreturn

- don't check for __STDC_VERSION__, everybody is free to reuse it with
a nonstandard compiler not conforming to C11 but supporting _Noreturn

gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards

this follows <stdbool.h> choice for not checking for C99

- follow <stdbool.h> and declare the __noreturn_is_defined guard

- use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h>

Reviewed by <pgoyette> and <joerg>


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.141 29-Jul-2015 christos

branches: 1.141.2;
move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool,
centralize definitions of bool, true, false, to <sys/stdbool.h>


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.140 11-Dec-2013 joerg

Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.139 11-Feb-2012 martin

branches: 1.139.6;
Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.


# 1.138 05-Feb-2012 dholland

Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.


# 1.137 09-Jan-2012 dholland

Add <quota.h> with the new libquota API.

This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.136 26-Aug-2011 dyoung

branches: 1.136.2;
Build and install ppath(3), property-list paths library.


# 1.135 17-Jul-2011 joerg

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.


Revision tags: cherry-xenmp-base
# 1.134 24-Mar-2011 bouyer

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)


Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2
# 1.133 31-Jul-2010 joerg

Add support for fenv.h interface for i386 and amd64.

Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.


Revision tags: uebayasi-xip-base1
# 1.132 25-Apr-2010 joerg

Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base
# 1.131 28-May-2008 ad

branches: 1.131.8; 1.131.16;
/usr/include/atomic.h, for Solaris source compat.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
# 1.130 07-Sep-2007 rmind

branches: 1.130.6; 1.130.8;
Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>


# 1.129 20-Aug-2007 drochner

branches: 1.129.2;
Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.


Revision tags: matt-mips64-base
# 1.128 30-May-2007 tls

Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do. Goodbye, libssp
dependency in libraries and executables. Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.


# 1.127 30-Apr-2007 rmind

Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>


# 1.126 09-Feb-2007 ad

Sync with changes introduced by merging the newlock2 branch.


Revision tags: netbsd-4-base
# 1.125 30-Oct-2006 christos

branches: 1.125.2; 1.125.4;
kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.


Revision tags: abandoned-netbsd-4-base
# 1.124 02-Jun-2006 mrg

remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.


# 1.123 27-Apr-2006 thorpej

Install proplib include files.


# 1.122 07-Apr-2006 mrg

retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.


# 1.121 30-Dec-2005 agc

Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.


# 1.120 03-Apr-2005 christos

Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
of the getpwent_r bump.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.119 14-Dec-2004 nathanw

Nuke threadlib.h. Library defensive threading is now provided through the
normal pthread.h interface.
Move stubs for libc back into a libc-internal header.


# 1.118 13-Sep-2004 thorpej

DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.


# 1.117 13-Jul-2004 seb

Add wordexp(3). The wordexp function performs shell-style word expansions.
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.

From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@.


# 1.116 21-May-2004 christos

install new files.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.115 14-Oct-2003 tron

Replace symbolic link "/usr/include/varargs.h" (pointing to
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.

Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.


# 1.114 01-Oct-2003 christos

make some files symlinks from sys.


# 1.113 09-Sep-2003 itojun

add randomid(3).


# 1.112 27-Aug-2003 mrg

introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3. if this is set, we also set USE_TOOLS_TOOLCHAIN=no. change
the definition of the former to be restricted to whether tools/toolchain
is used or not.


# 1.111 26-Jul-2003 mrg

install stdbool.h if gcc3


# 1.110 27-Jun-2003 tshiozak

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).


# 1.109 22-Mar-2003 jdolecek

install mntopts.h


# 1.108 20-Jan-2003 christos

add support for p1003.1b semaphores. From FreeBSD


# 1.107 19-Jan-2003 thorpej

Expose libc's thread stubs, which get magically turned into real pthread
calls when the pthread library is linked in. Simplifies making other
libraries (such as X's) thread-safe.


# 1.106 18-Jan-2003 thorpej

Merge the nathanw_sa branch.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.105 18-Sep-2002 lukem

minor makefile delint


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.104 31-Mar-2002 bjh21

split /usr/include/sys/sha1.h and /usr/include/sha1.h completely.
future direction: nuke /usr/include/sys/sha1.h, it shouldn't be there as
we don't provide libkern to userland.

This mirrors the same change for md5.h made by itojun on 2000/12/11.


# 1.103 22-Mar-2002 thorpej

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.


# 1.102 22-Feb-2002 christos

A utmpx implementation.


# 1.101 04-Feb-2002 thorpej

Don't install <stdbool.h> for now. Lossage resulting from me testing
with a not-in-tree compiler.


# 1.100 02-Feb-2002 thorpej

ISO C / SUSv3 <stdbool.h>.


# 1.99 12-Dec-2001 tv

MKfoo=no -> NOfoo=


# 1.98 17-Jul-2001 thorpej

A <sched.h> file, which provides the clone(2) prototypes, in order
to be compatible with Linux.


# 1.97 28-Apr-2001 kleink

* Move definitions of exact-width integer types from <machine/types.h>
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.


# 1.96 19-Mar-2001 atatat

Add md2 routines to libc.


# 1.95 17-Feb-2001 ragge

branches: 1.95.2;
Don't handle ieeefp.h on vax.


# 1.94 21-Dec-2000 itojun

have dummy wctype.h and isw*/tow*. part of libc minor 68 -> 69 crank.
equivalent to is*/to* at this moment. we'll put wchar_t code in the
near future.


# 1.93 11-Dec-2000 itojun

split /usr/include/sys/md5.h and /usr/include/md5.h completely.
future direction: nuke /usr/include/sys/md5.h, it shouldn't be there as
we don't provide libkern to userland.


# 1.92 05-Jul-2000 ad

Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
MD5 and SHA1 stuff.


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.91 20-Jun-2000 thorpej

branches: 1.91.2;
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.


# 1.90 03-Jun-2000 fvdl

Use a seperate Makefile in the rpc/ subdir. Needed because it generates
a file (rpcb_prot.h).


# 1.89 03-Jun-2000 fvdl

Add missed include files.


# 1.88 03-Jun-2000 fvdl

Move rpcb_prot.x to here from libc/rpc.


# 1.87 02-Jun-2000 fvdl

Fix omission in previous.


# 1.86 02-Jun-2000 fvdl

New headers for the new RPC code (based on TI-RPC from Sun).


Revision tags: minoura-xpg4dl-base
# 1.85 20-Apr-2000 kleink

branches: 1.85.2;
* Move <wchar.h> from libcurses to include (for the missing functionality
is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.


# 1.84 01-Apr-2000 christos

Add getopt.h and collect all the getopt related stuff here.
Make unistd.h include <getopt.h> to get the getopt stuff.
This adds support for getopt_long from Dieter Baron and Thomas Klausner.


# 1.83 23-Feb-2000 itojun

add getifaddrs(3) from bsdi4, as mentioned in tech-net (in SIOCGIFCONF
related thread).
this will save future apps from complexity of SIOCGIFCONF.

getifaddrs(3) does not use SIOCGIFCONF internally, it uses sysctl.


# 1.82 12-Jan-2000 mjl

Add necessary support routines for login.conf.


# 1.81 10-Jan-2000 kleink

Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.


# 1.80 22-Dec-1999 kleink

For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above. As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.79 13-Sep-1999 kleink

Add an XSH5 ulimit()/<ulimit.h> implementation.


# 1.78 12-Sep-1999 kleink

Add an XSH5 fmtmsg() implementation.


# 1.77 20-Jul-1999 mrg

optionally include CRYPTOPATH Makefile.frag files.


# 1.76 12-Jul-1999 thorpej

Use bsd.crypto.mk.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.75 19-Mar-1999 thorpej

Move the link.h files for the different shlib formats via repository copy,
and rename them to match the executable format. Introduce a new link.h
file which automatically picks the correct header based on the target of
the toolchain.


# 1.74 13-Feb-1999 lukem

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.


# 1.73 15-Jan-1999 lukem

merge nsswitch into main branch


# 1.72 12-Jan-1999 kleink

Separate the userland and libsa errno declarations from <sys/errno.h> into
their canonical places.


# 1.71 02-Feb-1998 perry

merge lite-2


# 1.70 02-Nov-1997 kleink

Add <libgen.h> header, from XPG4.2.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.69 30-Apr-1997 thorpej

branches: 1.69.2;
Move md5.h to <sys/md5.h> so that it may be included by the kernel.
A symlink is used to preserve <md5.h> compatibility.


# 1.68 27-Mar-1997 mycroft

Install files via INCS, and GC the bogus permission fixing hack.


# 1.67 30-Jan-1997 thorpej

Install md4.h and md5.h


# 1.66 17-Jan-1997 lukem

A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.65 27-Dec-1996 pk

link.h no longer liver here


# 1.64 18-Dec-1996 cgd

install dlfcn.h on the Alpha, since the Alpha (with the ELF shared library
tools) provides the dl*() interfaces. the only remaining special-case header
is the a.out link.h, which should really be installed by the dynamic linker.


# 1.63 18-Oct-1996 thorpej

branches: 1.63.2;
Use ${INSTALL}.


# 1.62 29-Sep-1996 mrg

install sys headers from sys/Makefile.


# 1.61 07-Sep-1996 mycroft

Make a symlink for poll.h.


# 1.60 09-Aug-1996 jtc

install rmt.h


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.59 15-May-1996 jtc

Added new header files for functions in libutil.
Added macro for master passwd lock file.
From Greg Hudson <ghudson@MIT.EDU>.


# 1.58 10-May-1996 cgd

don't install dlfcn.h or link.h on the Alpha, because they make no
sense for that architecture. (It doesn't have dynamic linking or
shared libraries.)


# 1.57 25-Apr-1996 jtc

Use 'includes' instead of 'install' targets to install headers


# 1.56 05-Feb-1996 jtc

Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.55 05-Jun-1995 pk

Add dlfcn.h and alphabetize.


# 1.54 16-Apr-1995 mycroft

Follow symlinks when copying .h files. From Greg Hudson.


# 1.53 07-Apr-1995 jtc

New header file <ieeefp.h>, which provides a API for getting and setting
IEEE rounding mode, exception enable flags, and exception sticky flags.


# 1.52 17-Feb-1995 jtc

For Normative Addendum 1.
We have this cr*p because no one would sa "no" to the danes.


# 1.51 15-Jan-1995 jtc

fix tipo


# 1.50 12-Jan-1995 jtc

Use and .


# 1.49 03-Dec-1994 christos

Add netgroup.h


# 1.48 26-Oct-1994 cgd

new RCS ID format.


# 1.47 15-Oct-1994 cgd

make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE
# 1.46 29-Aug-1994 mycroft

branches: 1.46.2;
Simplify copying of sys include files.


# 1.45 21-Jul-1994 cgd

get permissions right on installed directories


# 1.44 08-Jul-1994 jtc

Use pax instead of two tar's to install ${MACHINE} and ${MACHINE_ARCH}
header files. It's faster, because the file data doesn't have to be
passed through a pipe; and it's cleaner, because pax's rich set of
features allows us to copy the files without changing directories, etc.


Revision tags: netbsd-1-0-base
# 1.43 22-Jun-1994 mycroft

branches: 1.43.2;
Fix the install for real. Note this uses pax(1).


# 1.42 22-Jun-1994 cgd

add bm header, from Bostic


# 1.41 21-Jun-1994 jtc

Added langinfo.h header for nl_langinfo() function


# 1.40 12-Jun-1994 cgd

make install work for copies, but hack it to work for symlinks


# 1.39 29-May-1994 jtc

Added nl_types.h for message catalog functions


# 1.38 16-May-1994 cgd

oops


# 1.37 16-May-1994 cgd

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those. Kill varargs.h, because it can simply
be a link to the machine-dependent version.


# 1.36 11-May-1994 cgd

user-land signal include file


# 1.35 31-Mar-1994 cgd

don't use MACHINE_ARCH if it's dir doesn't exist...


# 1.34 10-Feb-1994 cgd

clean things up some


# 1.33 10-Feb-1994 cgd

don't hide install -d, and make owner/group correct


# 1.32 12-Jan-1994 cgd

regexp.h should still be here, for things needing the compat lib.


# 1.31 08-Jan-1994 cgd

fix SYS_INCLUDE definition, and explicitly include bsd.own.mk.
minor cleanup, and add support for creating and/or symlinking
/usr/include/${MACHINE_ARCH} as necessary.


# 1.30 22-Dec-1993 cgd

add 'dev' to the list of LDIRS


# 1.29 12-Nov-1993 jtc

Install regex.h header.


# 1.28 21-Oct-1993 jtc

Added X/Open 1170's <search.h> header --- it only declares bsearch, insque,
and remque at this time. The remainder of the functions will be added as
time allows.


# 1.27 17-Oct-1993 pk

Moved <link.h> here from usr.bin/ld as it is needed by other modules
and utilities (eg. crt0, libc, nm).


# 1.26 09-Oct-1993 cgd

install the 2 includes in ./rpcsvc, too.


# 1.25 08-Oct-1993 cgd

move rpcsvc files and include generation into src/lib/librpcsvc


# 1.24 01-Oct-1993 jtc

Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.


# 1.23 16-Aug-1993 mycroft

Oops. `copies' was getting done before making /usr/include.


# 1.22 15-Aug-1993 mycroft

There would have to be just one Makefile in the entire tree which referenced
_PROGSUBDIR. GRRRRRR.


# 1.21 01-Aug-1993 mycroft

Add RCS identifiers.


Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.20 10-Jul-1993 brezak

Allow SYS_INCLUDES={copies,symlinks} choice in bsd.own.mk.


# 1.19 16-Jun-1993 mycroft

Don't forget to install fnmatch.h.


# 1.18 07-Jun-1993 deraadt

install incluide files mode 644


# 1.17 26-May-1993 deraadt

install /usr/include/malloc.h!


# 1.16 18-May-1993 cgd

change for 'arch'


# 1.15 06-May-1993 proven

ftp put doesn't cleanly truncate and overwrite a file.


# 1.14 06-May-1993 proven

rpc directory installs now.


# 1.13 05-May-1993 proven

Set permissions and ownership all at once. (No more directories mode 0777)


# 1.12 01-May-1993 mycroft

Don't forget to install err.h.


# 1.11 28-Apr-1993 cgd

changed sys.386bsd to sys


# 1.10 26-Apr-1993 mycroft

Install mpool.h.


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.9 09-Apr-1993 cgd

added netccitt, netiso, and netns support, from (currently
alpha) patch 126


# 1.8 09-Apr-1993 cgd

make sure directory to install stuff exists before installing


# 1.7 04-Apr-1993 cgd

now that we have subdirs, need to do them on install, too...


# 1.6 04-Apr-1993 cgd

updated for addition of rpcsvc


# 1.5 31-Mar-1993 cgd

install of include subdirs from sys.386bsd now done relative to current
dir, rather than from /sys.


# 1.4 23-Mar-1993 cgd

marked dirs netimp, netiso, and netns as "missing" from LDIRS


# 1.3 22-Mar-1993 cgd

added "vm" to list of subdirs of /usr/include, and made a minor
cleanup so /usr/include/machine is handled right w/different types
of installs (links vs. copies).


# 1.2 22-Mar-1993 cgd

made install copy, rather than symlink includes


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision