29 #include "nomlib/system/init.hpp"
33 bool nomlib_init ( int32 argc,
char* argv[] )
35 NOM_LOG_TRACE ( NOM );
38 std::string pwd =
"\0";
40 pwd = dir.
path ( argv[0] );
42 if ( pwd.length() < 1 )
return false;
44 if ( dir.
set_path ( pwd ) == false )
return false;
bool set_path(const std::string &path)
chdir(2) wrapper
Platform-agnostic file system interface.
const std::string path(const std::string &dir_path)