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.
		
			
				
	
	
		
			21 lines
		
	
	
		
			393 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			393 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * CRTfmode.c
 | 
						|
 *
 | 
						|
 * Sets _CRT_fmode to be zero, which will cause _mingw32_init_fmode to leave
 | 
						|
 * all file modes in their default state (basically text mode).
 | 
						|
 *
 | 
						|
 * This file is part of the Mingw32 package.
 | 
						|
 *
 | 
						|
 * THIS FILE IS IN THE PUBLIC DOMAIN.
 | 
						|
 *
 | 
						|
 * Contributers:
 | 
						|
 *   Created by Colin Peters <colin@fu.is.saga-u.ac.jp>
 | 
						|
 *
 | 
						|
 * $Revision$
 | 
						|
 * $Author$
 | 
						|
 * $Date$
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
int _CRT_fmode = 0;
 |