aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-04-12 19:20:51 +0200
committerDan Engelbrecht <[email protected]>2022-04-12 19:20:51 +0200
commitf4ba5e54262ed2d67fdaee803a212bdafa1cf2aa (patch)
treeba5c72255cfd8ce8317c2ec53403c2f863f7f404 /zencore/include
parentset file limit on zenserver test (diff)
downloadzen-f4ba5e54262ed2d67fdaee803a212bdafa1cf2aa.tar.xz
zen-f4ba5e54262ed2d67fdaee803a212bdafa1cf2aa.zip
cleanup
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/filesystem.h4
1 files changed, 4 insertions, 0 deletions
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<IoBuffer> Data;