newlib-cygwin/newlib/libc/stdlib
Jeff Johnston ab4745dcb2 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* libc/include/stdlib.h: Add declarations of rand48 functions and
        their reentrant versions.
        * libc/include/sys/reent.h: Move macros from rand48.h. Add
        struct _rand48 for shared parameters of rand48 functions.
        (struct _reent): Add a variable _r48 of struct _rand48.
        (_REENT_INIT): Add _r48 initialization.
        * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
        (CHEWOUT_FILES): Add rand48.def.
        * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
        NetBSD C library.
        * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
        * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
        * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
        * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
        * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
        * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
        * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
        * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
        * libc/stdlib/rand48.c (__dorand48): Ditto.
        * libc/stdlib/rand48.h: Ditto, and modify declarations of global
        parameters into macros referring them in the reentrant structure.
2001-02-15 02:04:55 +00:00
..
Makefile.am 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
Makefile.in 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
__adjust.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
__exp10.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
__ten_mu.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
abort.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 18:51:09 +00:00
abs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
assert.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atexit.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atexit.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atof.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atoff.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atoi.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atol.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
bsearch.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
calloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
div.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
drand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
dtoa.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
dtoastub.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ecvtbuf.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
efgcvt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
environ.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
envlock.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
envlock.h 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
eprintf.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
erand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
exit.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
getenv.c Only reference environ indirectly through a pointer 2000-11-22 18:26:10 +00:00
getenv_r.c Only reference environ indirectly through a pointer 2000-11-22 18:26:10 +00:00
getopt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
jrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
labs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lcong48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
ldiv.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ldtoa.c 2000-12-13 Jeff Johnston <jjohnstn@redhat.com> 2000-12-14 00:25:06 +00:00
local.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
malign.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
malloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mallocr.c * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when compiling 2001-01-30 04:04:59 +00:00
mbctype.h Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
mblen.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mblen_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mbstowcs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mbstowcs_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mbtowc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mbtowc_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mlock.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
mprec.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 22:32:38 +00:00
mprec.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
msize.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mstats.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mtrim.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
nrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
putenv.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
putenv_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
qsort.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
rand.c Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com> 2000-06-20 18:34:57 +00:00
rand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
rand48.h 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
rand_r.c Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com> 2000-06-08 21:56:18 +00:00
realloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
seed48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
setenv.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
setenv_r.c Only reference environ indirectly through a pointer 2000-11-22 18:26:10 +00:00
srand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
std.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
stdlib.tex 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
strdup.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
strdup_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
strtod.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
strtol.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
strtoul.c Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl> 2000-04-17 17:10:18 +00:00
system.c 2000-12-04 Joel Sherrill <joel@OARcorp.com> 2000-12-04 18:29:29 +00:00
valloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wcstombs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wcstombs_r.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wctomb.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wctomb_r.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 18:51:09 +00:00