From f4ba5e54262ed2d67fdaee803a212bdafa1cf2aa Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Tue, 12 Apr 2022 19:20:51 +0200 Subject: cleanup --- zencore/include/zencore/filesystem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zencore/include') diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h index d1a5f3e0c..98d2897cf 100644 --- a/zencore/include/zencore/filesystem.h +++ b/zencore/include/zencore/filesystem.h @@ -34,6 +34,10 @@ ZENCORE_API std::filesystem::path PathFromHandle(void* NativeHandle); ZENCORE_API std::filesystem::path GetRunningExecutablePath(); +/** Set the max open file handle count to max allowed for the current process on Linux and MacOS + */ +ZENCORE_API void InitializeOpenFileCount(); + struct FileContents { std::vector Data; -- cgit v1.2.3