newlib-cygwin/newlib/libc/include
Eric Blake 08146e5adb Fix fflush issues.
* libc/stdio/fflush.c (_fflush_r): New function.
(fflush): Fix reentrancy and large offset behavior.
* libc/include/stdio.h (_fflush_r): Add prototype.
* libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/fseek.c (_fseek_r): Likewise.
* libc/stdio/ftell.c (_ftell_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/setvbuf.c (setvbuf): Likewise.
* libc/stdio/ungetc.c (_ungetc_r): Likewise.
* libc/stdio/vfprintf.c (__sbprintf): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
32-bit version if not large file.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
2007-07-13 20:37:53 +00:00
..
machine 2007-04-26 Patrick Mansfield <patmans@us.ibm.com> 2007-04-26 19:23:37 +00:00
sys 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 16:56:30 +00:00
_ansi.h 2002-08-27 Jeff Johnston <jjohnstn@redhat.com> 2002-08-27 20:27:35 +00:00
_syslist.h 2005-08-22 Shaun Jackman <sjackman@gmail.com> 2005-08-22 21:13:35 +00:00
alloca.h 2006-12-13 Joel Schopp <jschopp@austin.ibm.com> 2006-12-13 23:01:21 +00:00
ar.h
argz.h * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len 2007-05-23 16:36:23 +00:00
assert.h Support __func__ in assert, as required by C99. 2007-06-27 12:44:41 +00:00
ctype.h 2005-03-18 Hans-Peter Nilsson <hp@axis.com> 2005-03-18 17:18:59 +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
fcntl.h
getopt.h 2006-01-04 Gregory Pietsch <gpietsch@comcast.net> 2006-01-04 21:21:52 +00:00
grp.h * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin. 2004-05-17 16:06:14 +00:00
iconv.h 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru> 2004-06-25 20:33:28 +00:00
ieeefp.h 2007-04-26 Patrick Mansfield <patmans@us.ibm.com> 2007-04-26 19:23:37 +00:00
inttypes.h 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org> 2005-12-16 19:03:12 +00:00
langinfo.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
libgen.h 2005-04-08 Jeff Johnston <jjohnstn@redhat.com> 2005-04-08 20:48:40 +00:00
limits.h * libc/include/limits.h (NL_ARGMAX): Define a default value. 2007-04-24 16:01:15 +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 2007-07-11 Jeff Johnston <jjohnstn@redhat.com> 2007-07-11 18:09:08 +00:00
newlib.h 2002-08-28 Jeff Johnston <jjohnstn@redhat.com> 2002-08-28 23:42:53 +00:00
paths.h
process.h * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve 2002-06-11 02:26:43 +00:00
pthread.h 2006-09-13 Joel Sherrill <joel@oarcorp.com> 2006-09-13 22:09:27 +00:00
pwd.h * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid 2005-02-08 20:55:18 +00:00
reent.h 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 16:56:30 +00:00
regdef.h
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
stdint.h 2006-08-16 Joel Schopp <jschopp@austin.ibm.com> 2006-08-16 21:39:43 +00:00
stdio.h Fix fflush issues. 2007-07-13 20:37:53 +00:00
stdlib.h * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific file. 2005-12-05 22:15:21 +00:00
string.h * libc/include/string.h: Add prototypes for stpcpy and stpncpy. 2007-06-28 17:07:23 +00:00
termios.h
time.h * include/time.h: Remove more cygwin-specific stuff. 2005-11-18 15:57:24 +00:00
unctrl.h
unistd.h
utime.h 2002-07-04 Jeff Johnston <jjohnstn@redhat.com> 2002-07-04 22:51:08 +00:00
utmp.h
wchar.h * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, 2007-07-06 20:03:28 +00:00
wctype.h 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp> 2002-11-07 00:44:31 +00:00