newlib-cygwin/newlib/libc/stdlib
Jeff Johnston 9c64d2a7ba 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/_types.h (_mbstate_t): Changed to use
        unsigned char internally.
        * libc/sys/linux/sys/_types.h: Ditto.
        * libc/include/sys/reent.h
        * libc/stdlib/mblen.c (mblen): Use function-specific state
        value from default reentrancy structure.
        * libc/stdlib/mblen_r.c (_mblen_r):  If return code from
        _mbtowc_r is less than 0, reset state __count value and
        return -1.
        * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
        is NULL, use the function-specific pointer provided in the
        default reentrancy structure.
        * libc/stdlib/mbrtowc.c: Add reentrant form of function.
        If input state pointer is NULL, use function-specific area
        provided in reentrancy structure.
        * libc/stdlib/mbsrtowcs.c: Ditto.
        * libc/stdlib/wcrtomb.c: Ditto.
        * libc/stdlib/wcsrtombs.c: Ditto.
        * libc/stdlib/mbstowcs.c: Reformat.
        * libc/stdlib/wcstombs.c: Ditto.
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
        reset the state's __count value and return -1.
        * libc/stdlib/mbtowc.c: Ditto.
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
        If number of bytes is used up before completing a valid multibyte
        character, return -2 and save the state.
        * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
        and change some __count references to __state for clarity.
2002-09-09 21:42:14 +00:00
..
Makefile.am 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2002-08-29 19:38:25 +00:00
Makefile.in 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2002-08-29 19:38:25 +00:00
_Exit.c 2002-06-13 Jeff Johnston <jjohnstn@redhat.com> 2002-06-13 23:24:03 +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
a64l.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +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 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +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
btowc.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +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 * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
dtoa.c 2002-02-05 Manik Raina <manik@cisco.com> 2002-02-05 17:14:35 +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 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +00:00
getenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
getenv_r.c * Various formatting and whitespace changes. 2002-04-30 18:23:40 +00:00
getopt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
getsubopt.3 * libc/argz/argz_replace.c: Include buf_findstr.h. 2002-07-19 20:36:09 +00:00
getsubopt.c * libc/argz/argz_replace.c: Include buf_findstr.h. 2002-07-19 20:36:09 +00:00
jrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
l64a.c 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> 2002-05-06 20:44:54 +00:00
labs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lcong48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
ldiv.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ldtoa.c 2002-02-05 Manik Raina <manik@cisco.com> 2002-02-05 17:14:35 +00:00
local.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
lrand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +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 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net> 2002-08-20 15:29:30 +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 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mblen_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbrlen.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbrtowc.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbsinit.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
mbsrtowcs.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbstowcs.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbstowcs_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbtowc.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbtowc_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mlock.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 16:11:59 +00:00
mprec.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
mprec.h 2002-06-24 Jeff Johnston <jjohnstn@redhat.com> 2002-06-24 20:03:38 +00:00
mrand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
msize.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mstats.c 2002-08-26 Jeff Johnston <jjohnstn@redhat.com> 2002-08-26 18:56:09 +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
on_exit.c 2002-05-15 Jeff Johnston <jjohnstn@redhat.com> 2002-05-15 22:58:10 +00:00
putenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
putenv_r.c * Various formatting and whitespace changes. 2002-04-30 18:23:40 +00:00
rand.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
rand48.h * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +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 * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
setenv.c 2001-02-22 Jeff Johnston <jjohnstn@redhat.com> 2001-02-22 22:12:43 +00:00
setenv_r.c 2002-04-17 Jeff Johnston <jjohnstn@redhat.com> 2002-04-17 21:23:31 +00:00
srand48.c * implement a new `struct _reent' that is significantly smaller. use this 2002-02-03 09:24:18 +00:00
std.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
stdlib.tex * Makefile.am (LIB_OBJECTLISTS): Add 2002-06-20 19:51:40 +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
strtoll.c * Various formatting and whitespace changes. 2002-04-30 18:23:40 +00:00
strtoll_r.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +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
strtoull.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
strtoull_r.c 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> 2001-10-01 18:05:11 +00:00
system.c * libc/sys/arm/syscalls.c (_rename): New function. Just a stub. 2002-04-29 21:49:56 +00:00
valloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wcrtomb.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
wcsrtombs.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
wcstombs.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
wcstombs_r.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
wctob.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
wctomb.c 2002-04-01 Jeff Johnston <jjohnstn@redhat.com> 2002-04-01 23:06:21 +00:00
wctomb_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00