newlib-cygwin/newlib/libc/stdlib
Jeff Johnston d0bd3e6f56 2004-06-11 Antony King <antony.king@st.com>
* libc/include/sys/_types.h: Include <sys/lock.h> and change
        _flock_t to be of type _LOCK_RECURSIVE_T.
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
        (_global_impure_ptr): New declaration.
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
        * libc/include/sys/stdio.h: Include <sys/lock.h> and
        <sys/reent.h>.
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
        * libc/stdio/fclose.c: Remove casting of fp lock to
        _LOCK_RECURSIVE_T.
        * libc/stdio/findfp.c: Ditto.
        * libc/stdio/fopen.c: Ditto.
        * libc/stdio/freopen.c: Ditto.
        * libc/stdio/vfprintf.c: Ditto.
        * libc/stdio64/fopen64.c: Ditto.
        * libc/stdlib/envlock.c: Add default stubs that use generic
        locking code.
        * libc/stdlib/mlock.c: Ditto.

        Jeff Johnston  <jjohnstn@redhat.com>
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
        (_flock_t): Change to be a struct containing a single member
        named mutex which is of type __flock_mutex_t.
2004-06-11 20:37:10 +00:00
..
Makefile.am 2004-02-09 Jeff Johnston <jjohnstn@redhat.com> 2004-02-09 21:47:47 +00:00
Makefile.in 2004-02-09 Jeff Johnston <jjohnstn@redhat.com> 2004-02-09 21:47:47 +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 2004-01-08 Joel Sherrill <joel@oarcorp.com> 2004-01-08 19:33:13 +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 2004-01-27 Jeff Johnston <jjohnstn@redhat.com> 2004-01-28 01:00:37 +00:00
atexit.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
atof.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
atoff.c 2002-12-06 Jeff Johnston <jjohnstn@redhat.com> 2002-12-06 18:58:51 +00:00
atoi.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:54:12 +00:00
atol.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +00:00
atoll.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +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 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +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 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:07:56 +00:00
envlock.c 2004-06-11 Antony King <antony.king@st.com> 2004-06-11 20:37:10 +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 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits. 2003-10-22 08:45:01 +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 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
ldtoa.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
llabs.c 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +00:00
lldiv.c 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +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 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
malloc.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
mallocr.c 2003-08-19 Jeff Johnston <jjohnstn@redhat.com> 2003-08-19 18:09:54 +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 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mblen_r.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbrlen.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbrtowc.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbsinit.c * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when 2003-12-05 06:13:44 +00:00
mbsrtowcs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbstowcs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbstowcs_r.c 2002-09-09 Jeff Johnston <jjohnstn@redhat.com> 2002-09-09 21:42:14 +00:00
mbtowc.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mbtowc_r.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
mlock.c 2004-06-11 Antony King <antony.king@st.com> 2004-06-11 20:37:10 +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 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
mstats.c * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO || 2003-09-05 00:13:15 +00:00
mtrim.c * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
nrand48.c 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2001-02-15 02:04:55 +00:00
on_exit.c 2003-09-02 Thomas Pfaff <tpfaff@gmx.net> 2003-09-02 22:42:05 +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 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +00:00
strtod.c 2002-12-06 Jeff Johnston <jjohnstn@redhat.com> 2002-12-06 18:58: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 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED. 2002-11-13 01:20:31 +00:00
wcrtomb.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcsrtombs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcstombs.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wcstombs_r.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
wctob.c * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when 2003-12-05 06:13:44 +00:00
wctomb.c 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-04-23 21:44:22 +00:00
wctomb_r.c 2002-09-20 Jeff Johnston <jjohnstn@redhat.com> 2002-09-20 20:13:11 +00:00