acadia-newlib/newlib/libc/stdio
Corinna Vinschen 7a7e4d4d95 Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing
semantics from POSIX to BSD.
	* libc/stdio/fclose.c (_fclose_r): Conditionalize file flushing on
	_STDIO_BSD_SEMANTICS.  Call __sflush_r rather than _fflush_r.  Add
	comment.
	* libc/stdio/fflush.c (__sflushw_r): New function, only available
	if _STDIO_BSD_SEMANTICS is defined.
	* libc/stdio/findfp.c (_cleanup_r): Call _fwalk_reent rather than
	_fwalk.  Conditionalize cleanup function call on _STDIO_BSD_SEMANTICS.
	Add comments.  Add FIXME.
	* libc/stdio/local.h (__sflushw_r): Declare if _STDIO_BSD_SEMANTICS is
	defined.
2014-01-17 10:55:32 +00:00
..
Makefile.am
Makefile.in
asiprintf.c
asniprintf.c
asnprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
asprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
clearerr.c
diprintf.c
dprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fclose.c Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing 2014-01-17 10:55:32 +00:00
fcloseall.c
fdopen.c
feof.c
ferror.c
fflush.c Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing 2014-01-17 10:55:32 +00:00
fgetc.c
fgetpos.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fgets.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fgetwc.c
fgetws.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
fileno.c
findfp.c Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing 2014-01-17 10:55:32 +00:00
fiprintf.c
fiscanf.c
flags.c
floatio.h
fmemopen.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fopen.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fopencookie.c
fprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fpurge.c
fputc.c
fputs.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fputwc.c
fputws.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
fread.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
freopen.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fscanf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fseek.c
fseeko.c
fsetpos.c
ftell.c
ftello.c
funopen.c
fvwrite.c
fvwrite.h
fwalk.c
fwide.c
fwprintf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
fwrite.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fwscanf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
getc.c
getc_u.c
getchar.c
getchar_u.c
getdelim.c
getline.c
gets.c
getw.c
getwc.c
getwchar.c
iprintf.c
iscanf.c
local.h Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing 2014-01-17 10:55:32 +00:00
makebuf.c
mktemp.c
open_memstream.c
perror.c
printf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
putc.c
putc_u.c
putchar.c
putchar_u.c
puts.c
putw.c
putwc.c
putwchar.c
refill.c
remove.c
rename.c
rewind.c
rget.c
scanf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
sccl.c
setbuf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
setbuffer.c
setlinebuf.c
setvbuf.c
siprintf.c
siscanf.c
sniprintf.c
snprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
sprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
sscanf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
stdio.c
stdio.tex
swprintf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
swscanf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
tmpfile.c
tmpnam.c
ungetc.c
ungetwc.c
vasiprintf.c
vasniprintf.c
vasnprintf.c
vasprintf.c
vdiprintf.c
vdprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vfieeefp.h
vfprintf.c
vfscanf.c * vfscanf.c (BUF): Change definition to take multibyte decimal point 2013-12-18 19:23:33 +00:00
vfwprintf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
vfwscanf.c * libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point in 2013-12-19 18:50:00 +00:00
viprintf.c
viscanf.c
vprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vscanf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vsiprintf.c
vsiscanf.c
vsniprintf.c
vsnprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vsprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vsscanf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vswprintf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
vswscanf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
vwprintf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
vwscanf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wbuf.c
wprintf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wscanf.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wsetup.c