ad
34eaab26b0
Sync with changes introduced by merging the newlock2 branch.
2007-02-09 22:13:31 +00:00
christos
11c53ad61c
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.
2006-10-30 20:22:53 +00:00
mrg
db19e89e04
remove support for building (with) GCC 2.95. also:
...
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
thorpej
66574ac8a6
Install proplib include files.
2006-04-27 23:42:08 +00:00
mrg
0db1500b43
retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.
2006-04-07 19:38:58 +00:00
agc
740a95c15f
Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
...
from OpenBSD.
Bump libc minor to 136.
2005-12-30 23:07:31 +00:00
christos
ada3b096d0
Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
...
of the getpwent_r bump.
2005-04-03 20:09:29 +00:00
nathanw
5229c9f993
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.
2004-12-14 00:23:19 +00:00
thorpej
de1dfb1250
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.
2004-09-13 21:44:54 +00:00
seb
2f8bbc118e
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@.
2004-07-13 15:42:03 +00:00
christos
a39aed56f5
install new files.
2004-05-21 02:27:35 +00:00
tron
162ada1c8b
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.
2003-10-14 12:46:44 +00:00
christos
46a53ee354
make some files symlinks from sys.
2003-10-01 01:35:39 +00:00
itojun
00552ebbd7
add randomid(3).
2003-09-09 22:10:33 +00:00
mrg
1a086c6b25
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.
2003-08-27 16:03:17 +00:00
mrg
b1774706ae
install stdbool.h if gcc3
2003-07-26 15:27:13 +00:00
tshiozak
ff5c3e6895
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).
2003-06-27 05:21:49 +00:00
jdolecek
bd2847705c
install mntopts.h
2003-03-22 12:45:51 +00:00
christos
3f4a1907c6
add support for p1003.1b semaphores. From FreeBSD
2003-01-20 20:09:50 +00:00
thorpej
ba54189cb1
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.
2003-01-19 19:24:39 +00:00
thorpej
c62a74e6d5
Merge the nathanw_sa branch.
2003-01-18 10:32:11 +00:00
lukem
99fe9d3e76
minor makefile delint
2002-09-18 06:17:38 +00:00
bjh21
66392bd7be
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.
2002-03-31 14:12:37 +00:00
thorpej
9c33b55e7c
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.
2002-03-22 18:10:19 +00:00
christos
4ac6388b63
A utmpx implementation.
2002-02-22 20:09:01 +00:00
thorpej
7599c17f99
Don't install <stdbool.h> for now. Lossage resulting from me testing
...
with a not-in-tree compiler.
2002-02-04 08:51:26 +00:00
thorpej
e499744b58
ISO C / SUSv3 <stdbool.h>.
2002-02-02 17:31:52 +00:00
tv
a2291b79c0
MKfoo=no -> NOfoo=
2001-12-12 00:07:45 +00:00
thorpej
da143054a0
A <sched.h> file, which provides the clone(2) prototypes, in order
...
to be compatible with Linux.
2001-07-17 03:04:16 +00:00
kleink
fe3c9ceaf7
* 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.
2001-04-28 15:41:28 +00:00
atatat
3ddb3899a3
Add md2 routines to libc.
2001-03-19 04:13:16 +00:00
ragge
4b033d7e28
Don't handle ieeefp.h on vax.
2001-02-17 12:29:45 +00:00
itojun
a25075d36a
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.
2000-12-21 05:40:56 +00:00
itojun
0e7d3ce88c
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.
2000-12-11 21:05:14 +00:00
ad
90517b417b
Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
...
MD5 and SHA1 stuff.
2000-07-05 11:44:01 +00:00
thorpej
e7d6b96938
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.
2000-06-20 06:00:24 +00:00
fvdl
5e1597f492
Use a seperate Makefile in the rpc/ subdir. Needed because it generates
...
a file (rpcb_prot.h).
2000-06-03 11:23:54 +00:00
fvdl
340a76fd5c
Add missed include files.
2000-06-03 10:17:59 +00:00
fvdl
431e8abf29
Move rpcb_prot.x to here from libc/rpc.
2000-06-03 02:29:22 +00:00
fvdl
5454a2b803
Fix omission in previous.
2000-06-02 23:01:57 +00:00
fvdl
c257a3b3ea
New headers for the new RPC code (based on TI-RPC from Sun).
2000-06-02 22:57:54 +00:00
kleink
405a7540e7
* 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.
2000-04-20 09:56:36 +00:00
christos
a91d8b9ec7
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.
2000-04-01 22:37:14 +00:00
itojun
6037c7862b
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.
2000-02-23 06:57:46 +00:00
mjl
142f369443
Add necessary support routines for login.conf.
2000-01-12 05:02:10 +00:00
kleink
6f29805ef3
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.
2000-01-10 16:58:36 +00:00
kleink
c07f17e8d9
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.
1999-12-22 21:26:15 +00:00
kleink
7d2e8d6525
Add an XSH5 ulimit()/<ulimit.h> implementation.
1999-09-13 18:38:04 +00:00
kleink
734b2b9b5e
Add an XSH5 fmtmsg() implementation.
1999-09-12 19:04:30 +00:00
mrg
ba255f8a34
optionally include CRYPTOPATH Makefile.frag files.
1999-07-20 09:47:07 +00:00