summaryrefslogtreecommitdiffhomepage
path: root/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'os.h')
-rw-r--r--os.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/os.h b/os.h
new file mode 100644
index 0000000..fd88894
--- /dev/null
+++ b/os.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <string>
+
+#define EXPORT __attribute__((visibility("default")))
+
+namespace Reichwein::OS {
+
+EXPORT std::string uptime_host();
+EXPORT std::string uptime_process();
+
+} // namespace