libc/newlib/libc/include
Jeff Johnston 9fc9e1c916 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
	* libc/stdio: Globally remove/replace all references to fp->_data.
	Replace with _REENT or _GLOBAL_REENT where appropriate.
	* libc/stdio/asprintf.c: Ditto.
	* libc/stdio/fclose.c: Ditto.
	* libc/stdio/fvwrite.c: Ditto.
	* libc/stdio/makebuf.c: Ditto.
	* libc/stdio/refill.c: Ditto.
	* libc/stdio/local.h: Ditto.
	* libc/stdio/setvbuf.c: Ditto.
	* libc/stdio/sscanf.c: Ditto.
	* libc/stdio/stdio.c: Ditto.
	* libc/stdio/ungetc.c: Ditto.
	* libc/stdio/vfscanf.c: Ditto.
	* libc/stdio/vsscanf.c: Ditto.
	* libc/stdio/fopen.c: Ditto.  Also use _fseek_r in _fopen_r.
	* libc/stdio/vasprintf.c: Ditto.  Also call _vfprintf_r directly.
	* libc/stdio/vsnprintf.c: Ditto.
	* libc/stdio/vsprintf.c: Ditto.
	* libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
	instead of _REENT to walk file list.
	* libc/stdio/fflush.c: Ditto.
	* libc/stdio/fgetpos.c: Add reentrant version and have regular
	version call reentrant version with _REENT argument.
	* libc/stdio/fsetpos.c: Ditto.
	* libc/stdio/fseek.c: Ditto.
	* libc/stdio/fseeko.c: Ditto.
	* libc/stdio/ftell.c: Ditto.
	* libc/stdio/ftello.c: Ditto.
	* libc/stdio/freopen.c: Ditto.
	* libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
	new files to chain.  Also use _GLOBAL_REENT pointer for
	cleaning up.
	* libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
	* libc/stdio/siprintf.c: Ditto.
	* libc/stdio/iprintf.c: Ditto.
	* libc/stdio/fprintf.c: Ditto.
	* libc/stdio/printf.c: Ditto.
	* libc/stdio/snprintf.c: Call _vfprintf_r directly.
	* libc/stdio/sprintf.c: Ditto.
	* libc/stdio/vprintf.c: Ditto.  Also add _REENT_ONLY check.
	* libc/stdio/rewind.c: Call _fseek_r directly.
	* libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
	* libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
	data pointer.
	(get_arg): Add extra struct _reent pointer argument.
	* libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
	to fp->_data.
	* libc/stdio64/fopen64.c: Ditto.
	* libc/stdio64/freopen64.c: Ditto.
	* libc/stdio64/fsetpos64.c: Ditto.
	* libc/stdio64/ftello64.c: Ditto.
	* libc/stdio64/local64.h: Ditto.
	* libc/stdio64/stdio64.c: Ditto.
	* libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
	_fstat64_r for the meantime.
2003-08-22 18:52:25 +00:00
..
machine 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> 2003-07-10 19:04:43 +00:00
sys 2003-08-22 Jeff Johnston <jjohnstn@redhat.com> 2003-08-22 18:52:25 +00:00
_ansi.h 2002-08-27 Jeff Johnston <jjohnstn@redhat.com> 2002-08-27 20:27:35 +00:00
_syslist.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
alloca.h * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h 2001-11-14 10:25:35 +00:00
ar.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
argz.h * libc/argz: New directory. 2002-06-14 20:51:09 +00:00
assert.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ctype.h 2002-06-27 Benjamin Kosnik <bkoz@redhat.com> 2002-06-27 23:58:38 +00:00
dirent.h * libc/include/dirent.h: Protect against multiple inclusion. 2001-11-30 17:26:47 +00:00
envz.h * libc/argz: New directory. 2002-06-14 20:51:09 +00:00
errno.h 2003-05-28 Jeff Johnston <jjohnstn@redhat.com> 2003-05-28 22:04:40 +00:00
fastmath.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
fcntl.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
grp.h * libc/include/grp.h: Don't declare group functions when compiling 2002-02-10 13:26:29 +00:00
ieeefp.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
langinfo.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
limits.h 2002-09-11 Jeff Johnston <jjohnstn@redhat.com> 2002-09-11 18:36:55 +00:00
locale.h 2002-06-27 Benjamin Kosnik <bkoz@redhat.com> 2002-06-27 23:58:38 +00:00
malloc.h * libc/include/malloc.h: On cygwin, define malloc _r functions as wrapper 2002-08-26 04:33:46 +00:00
math.h 2003-08-13 Jeff Johnston <jjohnstn@redhat.com> 2003-08-13 17:36:10 +00:00
newlib.h 2002-08-28 Jeff Johnston <jjohnstn@redhat.com> 2002-08-28 23:42:53 +00:00
paths.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
process.h * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve 2002-06-11 02:26:43 +00:00
pthread.h 2002-10-07 Joel Sherrill <joel@OARcorp.com> 2002-10-08 13:03:07 +00:00
pwd.h * libc/include/pwd.h: Add guards to avoid type clashes when compiling 2003-03-09 21:08:51 +00:00
reent.h 2002-10-03 Jeff Johnston <jjohnstn@redhat.com> 2002-10-03 19:33:08 +00:00
regdef.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
search.h * Makefile.am (LIB_OBJECTLISTS): Add 2002-06-20 19:51:40 +00:00
setjmp.h 2002-06-27 Benjamin Kosnik <bkoz@redhat.com> 2002-06-27 23:58:38 +00:00
signal.h 2002-07-24 Jeff Johnston <jjohnstn@redhat.com> 2002-07-24 18:18:07 +00:00
stdio.h * libc/stdio64/fdopen64.c: New file. 2003-07-25 16:06:01 +00:00
stdlib.h 2002-12-06 Jeff Johnston <jjohnstn@redhat.com> 2002-12-06 18:58:51 +00:00
string.h 2002-07-23 Jeff Johnston <jjohnstn@redhat.com> 2002-07-23 21:38:00 +00:00
termios.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
time.h 2003-01-29 Jason Tishler <jason@tishler.net> 2003-01-29 23:29:30 +00:00
unctrl.h * libc/include/sys/config.h: define __IMPORT appropriately 2000-08-01 20:51:51 +00:00
unistd.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
utime.h 2002-07-04 Jeff Johnston <jjohnstn@redhat.com> 2002-07-04 22:51:08 +00:00
utmp.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wchar.h * libc/include/wchar.h: Add definitions for wcswidth and wcwidth. 2003-04-09 10:42:12 +00:00
wctype.h 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2002-11-07 00:44:31 +00:00