Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "[examples/s4u-dht-chord] Handle TimeoutException which may be thrown by Comm...
[simgrid.git] / include / xbt / file.hpp
index afb262290b8143deddbf2d4e95e794205b55bace..fd29ff0eb852fa1aca1cf33d26683b98e68c8bf4 100644 (file)
@@ -34,6 +34,9 @@ public:
   /** @brief Returns the file component of a path (reimplementation of POSIX basename) */
   std::string get_base_name() const;
 
+  /** @brief Returns the name of a directory suitable for creating temporary files (e.g. "/tmp") */
+  static Path get_tmpdir();
+
 private:
   std::string path_;
 };