about summary refs log tree commit diff stats
path: root/src/include/fileutils.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-09-18 19:00:53 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-09-18 19:00:53 +0200
commitdcb4bbb3e622f657f94e5ce3e79a1557281643cc (patch)
tree0c6af4c289d9ac04bb4219b1a102afc615853e5b /src/include/fileutils.h
parent21c56e78988e424ef027985312b4e376a84c15f9 (diff)
downloadbox64-dcb4bbb3e622f657f94e5ce3e79a1557281643cc.tar.gz
box64-dcb4bbb3e622f657f94e5ce3e79a1557281643cc.zip
More fixes and improvment to bash handling (helps #360)
Diffstat (limited to 'src/include/fileutils.h')
-rwxr-xr-xsrc/include/fileutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/fileutils.h b/src/include/fileutils.h
index 79da42bc..ff69e6da 100755
--- a/src/include/fileutils.h
+++ b/src/include/fileutils.h
@@ -18,6 +18,9 @@ int FileIsX86ELF(const char* filename);
 int FileIsX64ELF(const char* filename);
 int FileIsShell(const char* filename);
 
+// return temp folder (will return /tmp if nothing is correct)
+const char* GetTmpDir();
+
 #if defined(RPI) || defined(RK3399) || defined(RK3326)
 void sanitize_mojosetup_gtk_background();
 #endif