newlib-cygwin/newlib/libc/stdlib
Jeff Johnston 52cb9e6934 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
        into one list.
        [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
        (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
        function prototypes.
        (_fscanf_r, _sscanf_r): Ditto.
        * libc/include/stdlib.h: Added _strtod_r prototype.
        * libc/stdio/Makefile.am: Add new v*scanf functions.
        * libc/stdio/Makefile.in: Regenerate.
        * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
        and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.        * libc/stdio/scanf.c: Changed to call __svfscanf_r.
        * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
        (sscanf): Changed to call __svfscanf_r with _REENT argument.
        (_sscanf_r): New routine.
        * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
        with __svfscanf_r prototype.
        * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
        routines.
        (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
        structure as argument as calls reentrant versions of helper functions
        (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
        to _strtol_r and _strtod_r respectively.
        * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
        * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
        _REENT argument.
        * libc/stdio/vscanf.c: New file.
        * libc/stdio/vsscanf.c: Ditto.
2001-04-20 22:50:51 +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 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
getenv_r.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +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 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
putenv_r.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +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 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
setenv_r.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +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 2001-04-20 Jeff Johnston <jjohnstn@redhat.com> 2001-04-20 22:50:51 +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