Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

machdep.h File Reference

#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <dirent.h>

Go to the source code of this file.


Defines

#define DONT_USE_SCANDIR
#define DONT_UNROLL_FFTS
#define NEED_XSETLOCALE
#define THD_MMAP_FLAG   MAP_SHARED
#define THD_MKDIR_MODE   (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)
#define SCANDIR_WANTS_CONST
#define FIX_SCALE_SIZE_PROBLEM
#define DONT_CHECK_FOR_MWM
#define BOXUP_SCALE
#define DYNAMIC_LOADING_VIA_DL
#define USE_FLOCK
#define DISCARD_EXCESS_EXPOSES
#define ALLOW_PLUGINS

Functions

void machdep ()

Define Documentation

#define ALLOW_PLUGINS
 

Definition at line 348 of file machdep.h.

Referenced by AFNI_syntax().

#define BOXUP_SCALE
 

Definition at line 282 of file machdep.h.

#define DISCARD_EXCESS_EXPOSES
 

Definition at line 345 of file machdep.h.

#define DONT_CHECK_FOR_MWM
 

Definition at line 281 of file machdep.h.

#define DONT_UNROLL_FFTS
 

Definition at line 178 of file machdep.h.

#define DONT_USE_SCANDIR
 

Definition at line 177 of file machdep.h.

#define DYNAMIC_LOADING_VIA_DL
 

Definition at line 283 of file machdep.h.

#define FIX_SCALE_SIZE_PROBLEM
 

Definition at line 279 of file machdep.h.

#define NEED_XSETLOCALE
 

Definition at line 268 of file machdep.h.

#define SCANDIR_WANTS_CONST
 

Definition at line 278 of file machdep.h.

#define THD_MKDIR_MODE   (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)
 

Definition at line 277 of file machdep.h.

Referenced by adwarp_refashion_dataset(), AFNI_refashion_dataset(), and THD_write_datablock().

#define THD_MMAP_FLAG   MAP_SHARED
 

Definition at line 276 of file machdep.h.

Referenced by THD_load_datablock().

#define USE_FLOCK
 

Definition at line 285 of file machdep.h.


Function Documentation

void machdep  
 

Definition at line 14 of file machdep.c.

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 }
 

Powered by Plone

This site conforms to the following standards: