Unix System Tools interface. More...
Unix System Tools interface.
Definition in file UnixUtils.H.
#include <sys/types.h>#include <dirent.h>#include <sys/stat.h>#include <unistd.h>#include <time.h>#include <istream>#include <ostream>#include <streambuf>#include <cstdio>#include <cstring>#include <vector>#include <iostream>#include <cstdlib>#include <errno.h>#include <sstream>#include <sys/utsname.h>Go to the source code of this file.
Classes | |
| struct | platform_info |
| class | Directory |
| class | Environment |
Namespaces | |
| ix | |
| Defines MPI-specific parallel global and program classes. | |
| ix::sys | |
| Unix system utilities. | |
Functions | |
| std::ostream & | operator<< (std::ostream &outStream, const platform_info &platformInfo) |
| platform_info | PlatformInfo (const std::string &systemInfo) |
| std::string | SystemInfo () |
| std::string | LogTime () |
| void | TokenizePath (std::vector< std::string > rv, const std::string &path) |
| std::string | TempFileName (const std::string &stub) |
| int | OpenTemp (std::string &stub) |
| const std::string | Hostname (bool longname=false) |
| const std::string | StripDirs (const std::string &) |
| const std::string | CWD () |
| int | SymLink (const std::string &source, const std::string &target) |
| void | SafeRemove (const std::string &fname, const std::string &ext) |
| int | ChDir (const std::string &path) |
| bool | FILEEXISTS (const std::string &fname) |
| bool | ISDIR (const std::string &fname) |
| bool | ISLINK (const std::string &fname) |
| int | CreateDirectory (const std::string &fname) |
| const std::string | ResolveLink (const std::string &path) |
| int | Remove (const std::string &fname) |
| int | Rename (const std::string &source_file, const std::string &target_file) |