newlib-cygwin/newlib/libc/reent
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 2002-09-19 Jeff Johnston <jjohnstn@redhat.com> 2002-09-19 21:28:52 +00:00
Makefile.in 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com> 2004-01-27 23:26:26 +00:00
closer.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
execr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
fcntlr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
fstat64r.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
fstatr.c 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> 2000-08-24 18:51:09 +00:00
getreent.c 2002-05-17 Jeff Johnston <jjohnstn@redhat.com> 2002-05-17 23:39:39 +00:00
impure.c 2004-06-11 Antony King <antony.king@st.com> 2004-06-11 20:37:10 +00:00
linkr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
lseek64r.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
lseekr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
open64r.c 2002-08-26 Jeff Johnston <jjohnstn@redhat.com> 2002-08-26 18:56:09 +00:00
openr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
readr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
reent.c Fix typo 2003-06-11 08:44:40 +00:00
reent.tex 2002-07-17 Jeff Johnston <jjohnstn@redhat.com> 2002-07-17 23:25:44 +00:00
sbrkr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
signalr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
signgam.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
statr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
timer.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
unlinkr.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00
writer.c 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> 2003-06-03 19:48:08 +00:00