newlib-cygwin/winsup/mingw/samples/fmode
Danny Smith 7c3de623b6 * include/fcntl.h (_fmode): Remove declarations and
compatibility defines.
	(_setmode, setmode): Remove prototypes.
	* include/stdlib (_fmode): Add declarations and
	compatibility defines.  Change type to int.
	* include/io.h (_setmode, setmode): Add prototypes.
	* samples/fmode/all.c: Adjust includes.
	* samples/fmode/test.c: Likewise.
	* crt1.c (_CRT_fmode): Declare as int.
	* CRTfmode.c (_CRT_fmode): Likewise.

	* include/stdlib: Remove comment about MB_CUR_MAX.
2002-10-03 00:49:21 +00:00
..
all.c * include/fcntl.h (_fmode): Remove declarations and 2002-10-03 00:49:21 +00:00
jamfile Merging MinGW changes 2002-05-28 13:13:45 +00:00
readme.txt Merging MinGW changes 2002-05-28 13:13:45 +00:00
test.c * include/fcntl.h (_fmode): Remove declarations and 2002-10-03 00:49:21 +00:00

readme.txt

These two demos show how _fmode and _CRT_fmode can be used to modify the
default file opening mode (text vs. binary) and/or the mode of the standard
file handles.