summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index 7c4a0d9fa2..b7d032c68d 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -251,6 +251,9 @@ void RegisterSignalHandler(int signal,
uint32_t GetProcessId();
bool SafeGetenv(const char* key, std::string* text);
+std::string GetHumanReadableProcessName();
+void GetHumanReadableProcessName(char (*name)[1024]);
+
template <typename T, size_t N>
constexpr size_t arraysize(const T(&)[N]) { return N; }