ClickHouse/src/Common/getMaxFileDescriptorCount.h
2021-11-12 20:48:42 +08:00

7 lines
164 B
C++

#pragma once
/// Get process max file descriptor count
/// @return -1 if os does not support ulimit command or some error occurs
int getMaxFileDescriptorCount();