acadia-newlib/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
__exp10.c
__ten_mu.c
a64l.c
abort.c
abs.c
assert.c
atexit.c
atexit.h
atof.c
atoff.c
atoi.c
atol.c
btowc.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
calloc.c
div.c
drand48.c
dtoa.c
dtoastub.c
ecvtbuf.c
efgcvt.c
environ.c
envlock.c
envlock.h
eprintf.c
erand48.c
exit.c
getenv.c
getenv_r.c
getopt.c
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
l64a.c
labs.c
lcong48.c
ldiv.c
ldtoa.c
local.h
lrand48.c
malign.c
malloc.c
mallocr.c 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net> 2002-08-20 15:29:30 +00:00
mbctype.h
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
mprec.c
mprec.h 2002-06-24 Jeff Johnston <jjohnstn@redhat.com> 2002-06-24 20:03:38 +00:00
mrand48.c
msize.c
mstats.c 2002-08-26 Jeff Johnston <jjohnstn@redhat.com> 2002-08-26 18:56:09 +00:00
mtrim.c
nrand48.c
on_exit.c
putenv.c
putenv_r.c
rand.c
rand48.c
rand48.h
rand_r.c
realloc.c
seed48.c
setenv.c
setenv_r.c
srand48.c
std.h
stdlib.tex * Makefile.am (LIB_OBJECTLISTS): Add 2002-06-20 19:51:40 +00:00
strtod.c
strtol.c
strtoll.c
strtoll_r.c
strtoul.c
strtoull.c
strtoull_r.c
system.c
valloc.c
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
wctomb_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00