7 #ifndef __platform_envvar_h__ 8 #define __platform_envvar_h__ 10 #if FE_COMPILER==FE_GNU 13 #define FEPREFETCH_READ(address) __builtin_prefetch(address,0,0) 14 #define FEPREFETCH_WRITE(address) __builtin_prefetch(address,1,0) 15 #define FE_PREFETCHING TRUE 19 #define FEPREFETCH_READ(address) 20 #define FEPREFETCH_WRITE(address) 21 #define FE_PREFETCHING FALSE 41 static void FE_CDECL printBannerOnce(
void);
46 static bool FE_CDECL getEnvironmentVariable(
const String &name,
52 static bool FE_CDECL getHomePath(
String &value);
55 static String FE_CDECL getVerbose(
void);
58 static String FE_CDECL buildDate(
void);
63 static String FE_CDECL getExePath(BWORD a_prune);
68 static String FE_CDECL getLoadPath(
void* a_symbol,BWORD a_prune);
71 static String FE_CDECL getCurrentWorkingDirectory(
void);
74 static bool FE_CDECL setCurrentWorkingDirectory(
78 static bool FE_CDECL createDirectory(
const String &a_path);
81 static bool FE_CDECL createParentDirectories(
const String &a_filename);
87 static bool FE_CDECL listDirectory(
String a_path,
88 std::vector<String>& a_rEntries);
91 BWORD a_emptyDefault=FALSE);
94 static String FE_CDECL getExecutablePath(
void);
97 static String FE_CDECL getModulePath(
void);
101 static String FE_CDECL getBinarySuffix(
void);
107 static String FE_CDECL findFile(
String a_filename,std::vector<String> a_paths);
122 static String FE_CDECL localTime(
String a_format=
"%Y%m%d %H:%M:%S");
126 static BWORD ms_bannerPrinted;
System call wrappers.
Definition: System.h:33
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128