lukem
6ca5b5bb68
add strsuftoll(3) and strsuftollx(3) - parse a string for a number
...
with an optional suffix, product (two numbers separated by `x'), and
provide range checking
2002-11-29 12:58:14 +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
msaitoh
36db62c9dc
add hcreate.3
2001-02-16 12:25:09 +00:00
cgd
579369d368
build new hsearch() code
2001-02-14 05:44:29 +00:00
lukem
b8d674b457
link sradixsort(3) -> radixsort(3)
2001-01-08 14:06:09 +00:00
itojun
408f4697a6
first import of citrus LC_CTYPE locale. singlebyte only at this moment.
...
shot-term TODO:
- enable multibyte locales. this includes loadable locale modules
(#ifdef DLRUNE).
- populate LC_CTYPE definition files.
- other functions such as iconv()
- make libc functions more friendly with multibyte.
- multilingualize other LC_xx
- torture tests
XXX don't forget to "make depend" when you rebuild libc, multibyte.c is
moved from lib/libc/stdlib to lib/libc/locale.
2000-12-21 11:29:47 +00:00
christos
6dfafca13a
New getopt_long from Thomas Klausner and Dieter Baron
2000-04-02 20:27:58 +00:00
kleink
31f60ab101
No longer need internal names for strtoq() and strtouq().
2000-03-08 20:17:19 +00:00
kleink
e4d7c2e329
Add ISO C99 long long integer general utility interfaces; partially addresses
...
PR standards/9482.
2000-03-06 18:32:22 +00:00
lukem
c2601fffee
replace malloc(3) with one from freebsd which documents our new malloc.c
...
(also from freebsd). comment out references to reallocf with .\"XXX"
for now. i also fixed some roff misuse as well.
replace calloc(3), free(3) and realloc(3) with links to malloc(3)
1999-08-02 03:18:46 +00:00
tls
e89d5d52c5
The 'new malloc' (phk's malloc, from FreeBSD) is now our only malloc.
1999-06-26 04:44:36 +00:00
tls
3e2a95b2e4
add FreeBSD's malloc, compiled in only if MALLOC_NEW is set in mk.conf
1999-06-17 19:33:36 +00:00
drochner
a34eb7c1b7
use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
...
libc builds on pmax again
1999-02-24 15:05:20 +00:00
christos
7975455d45
t{search,find,walk,delete} from OpenBSD via Neil A. Carson
1999-02-22 10:33:15 +00:00
kleink
e2b924d2ae
Add l64a_r(), a reentrant version of l64a(); found in the Multithreading
...
Extension of SVID4.
1999-02-06 15:04:05 +00:00
kleink
d393974f10
Add a manual page for a64l() and l64a().
1998-06-14 17:47:15 +00:00
perry
764a8201df
realpath is now part of getcwd.c in gen/; man page moved to gen, too.
1998-02-02 23:20:35 +00:00
frueauf
d922341864
Add _strtoq.c back to SRCS+= which seemed to get lost while reordering it.
1998-02-01 14:03:47 +00:00
perry
5f8a6c06f3
update to lite-2
1998-01-30 23:37:40 +00:00
cgd
4d7e773266
A foolish consistency... gen, net, and string all get MD sources
...
specified by including a Makefile.inc from the appropriate MD directory.
stdlib doesn't do that, but there's no reason that it shouldn't (and
it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
1997-11-05 22:59:37 +00:00
kleink
e9118660e4
Link rand_r(3) to rand(3).
1997-07-15 00:42:29 +00:00
christos
bd9067774f
Add local.h for local prototypes.
...
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's
1997-07-13 20:16:31 +00:00
mrg
cbf5ef7c50
move str[fp]time into libc/time.
1997-04-23 01:17:59 +00:00
mrg
d47b27a34b
add strptime() to libc.
1997-04-21 12:36:25 +00:00
jtc
0fbafa5982
Added rand_r()
1996-11-19 02:56:35 +00:00
perry
78954ddcf6
Nuked machine specific conditionals for tahoe.
1996-10-16 17:56:37 +00:00
thorpej
6dda330ef6
New-style RCS ids.
1995-12-28 08:51:55 +00:00
ragge
ae8e3c9f1a
Changed abs.S to abs.c for vax.
1995-04-25 15:36:39 +00:00
jtc
7681b92c66
Enable qabs(), a quad_t version of abs() and labs().
1995-03-22 00:36:52 +00:00
jtc
bfd7fc20d9
New function qdiv. Like div and ldiv, but works with quad_t's.
1995-03-21 23:12:35 +00:00
cgd
b42e80ba75
list the files needed on the alpha.
1995-02-10 17:46:48 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
mycroft
3a7aa4b533
Add merge.c and mergesort.3.
1994-06-16 05:27:17 +00:00
jtc
70b7b8f795
44lite moved cfree() to libcompat
1994-05-20 06:19:47 +00:00
mycroft
f5392c8ae8
Add realpath(3).
1994-05-17 12:44:06 +00:00
jtc
a148e5bcbe
Remove machine-dependent atof() implementations; use machine independant
...
version that wraps strtod() instead.
1994-03-17 01:58:55 +00:00
jtc
bfc2593ae5
Integrate strtoq() and strtouq() from bsd-sources on uunet.
1994-01-03 22:58:35 +00:00
briggs
bdb4a3a91a
Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k"
1993-12-05 15:45:52 +00:00
cgd
f00e1cfe6a
get pc532 moved into ns32k; that's is MACHINE_ARCH
1993-12-05 02:20:58 +00:00
cgd
0ada107897
update for .S and MACHINE_ARCH
1993-12-04 02:33:35 +00:00
jtc
1f10b5021b
Added 1170's a64l() & l64a() functions.
1993-10-22 17:26:43 +00:00
cgd
b950dbff54
fixes from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de> to:
...
(1) don't clobber the MLINKS variable in rpc
(2) install the rand48 man page in stdlib
1993-10-19 00:36:16 +00:00
jtc
98ada58186
Split cfree() out of calloc.c.
...
If a user compiling in a strict ANSI or strict POSIX environment uses his
own function named cfree (which is legal, since cfree is not in a restricted
namespace) and calloc, the link will fail due to the cfree in calloc.c.
1993-10-13 21:44:23 +00:00
jtc
f2c1ee25de
Added rand48 manual page.
1993-10-09 00:08:02 +00:00
jtc
aed559e85d
Make it possible to use machine dependant versions of div and ldiv functions.
...
Use the new i386 versions of div and ldiv.
1993-10-09 00:03:32 +00:00
jtc
42cce25b89
Use machine dependant version of labs.[cs] if one is present.
...
If not one of the enumerated list of machines, use the C language
versions of abs, labs, and atof.
1993-10-08 00:08:12 +00:00
brezak
933a7b3ad8
Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier)
1993-10-07 19:53:35 +00:00
cgd
0b9f50897e
make an arch directory in libc, and move all machine dirs into it
1993-10-07 00:17:24 +00:00
phil
7ce7cb30df
pc532 specifics.
1993-09-17 19:22:50 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00