Doxygen Source Code Documentation
machdep.c File Reference
#include "mrilib.h"#include <malloc.h>#include <locale.h>Go to the source code of this file.
| Defines | |
| #define | _MCW_MALLOC_HEADER_ | 
| Functions | |
| void | machdep () | 
| char * | _Xsetlocale (int category, const char *locale) | 
Define Documentation
| 
 | 
| 
 | 
Function Documentation
| 
 | ||||||||||||
| 
 Definition at line 49 of file machdep.c. 
 00050 { return setlocale(category,locale) ; }
 | 
| 
 | 
| 
 Definition at line 14 of file machdep.c. References AFNI_yesenv(), and enable_mcw_malloc(). Referenced by F3D_initialize_user_data(), get_options(), initialize_program(), and main(). 
 00015 {
00016    /*-- force use of mcw_malloc.c functions - 05 Nov 2001 --*/
00017 
00018 #ifdef USING_MCW_MALLOC
00019    if( AFNI_yesenv("AFNI_FORCE_MCW_MALLOC") ) enable_mcw_malloc();
00020 #endif
00021 
00022    /*-- disable mmap() in malloc() [21 Aug 2002: mostly] --*/
00023 
00024 #if defined(LINUX) && defined(M_MMAP_MAX)
00025    mallopt( M_MMAP_MAX , 1 ) ;
00026 #endif
00027 
00028 }
 | 
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  