summaryrefslogtreecommitdiffstats
path: root/src/unix/openbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/openbsd.c')
-rw-r--r--src/unix/openbsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unix/openbsd.c b/src/unix/openbsd.c
index bffb58b..ffae768 100644
--- a/src/unix/openbsd.c
+++ b/src/unix/openbsd.c
@@ -136,6 +136,11 @@ uint64_t uv_get_total_memory(void) {
}
+uint64_t uv_get_constrained_memory(void) {
+ return 0; /* Memory constraints are unknown. */
+}
+
+
int uv_resident_set_memory(size_t* rss) {
struct kinfo_proc kinfo;
size_t page_size = getpagesize();