summaryrefslogtreecommitdiffstats
path: root/src/libnetdata/os/get_pid_max.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnetdata/os/get_pid_max.h')
-rw-r--r--src/libnetdata/os/get_pid_max.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libnetdata/os/get_pid_max.h b/src/libnetdata/os/get_pid_max.h
new file mode 100644
index 000000000..a6da0a4df
--- /dev/null
+++ b/src/libnetdata/os/get_pid_max.h
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_GET_PID_MAX_H
+#define NETDATA_GET_PID_MAX_H
+
+#include <unistd.h>
+
+extern pid_t pid_max;
+pid_t os_get_system_pid_max(void);
+
+#endif //NETDATA_GET_PID_MAX_H