|
Doxygen
|
#include "portable.h"#include <cctype>#include <chrono>#include <cstdio>#include <cstdlib>#include <map>#include <mutex>#include <string>#include <thread>#include <unistd.h>#include <sys/types.h>#include <sys/wait.h>#include <errno.h>#include "dir.h"#include "dstring.h"#include "fileinfo.h"#include "message.h"#include "util.h"#include "debug.h"#include "filesystem.hpp"Go to the source code of this file.
Classes | |
| class | SysTimeKeeper |
| struct | SysTimeKeeper::TimeData |
| class | AutoTimeKeeper |
Functions | |
| void | loadEnvironment () |
| static bool | ExistsOnPath (const DString &fileName) |
| static const char * | portable_memmem (const char *haystack, size_t haystack_len, const char *needle, size_t needle_len) |
Variables | |
| char ** | environ |
| static bool | environmentLoaded = false |
| static std::map< std::string, std::string > | proc_env = std::map<std::string,std::string>() |
|
static |
Definition at line 408 of file portable.cpp.
References DString::empty(), FileInfo::exists(), DString::find(), Portable::getenv(), DString::mid(), DString::npos, Portable::pathListSeparator(), Portable::pathSeparator(), and DString::str().
Referenced by Portable::checkForExecutable(), and Portable::ghostScriptCommand().
| void loadEnvironment | ( | ) |
Definition at line 276 of file portable.cpp.
References environ, environmentLoaded, and proc_env.
Referenced by Portable::getenv(), and Portable::setenv().
|
static |
Definition at line 588 of file portable.cpp.
References begin().
Referenced by Portable::strnstr().
|
extern |
Referenced by loadEnvironment(), and Portable::system().
|
static |
Definition at line 53 of file portable.cpp.
Referenced by Portable::getenv(), loadEnvironment(), and Portable::setenv().
|
static |
Definition at line 54 of file portable.cpp.
Referenced by Portable::getenv(), loadEnvironment(), Portable::setenv(), and Portable::unsetenv().