From 70530312562cae4e1c90e00fee96844e70ddd4ca Mon Sep 17 00:00:00 2001
From: Avi Kivity <avi.kivity@gmail.com>
Date: Sun, 6 Jan 2013 17:30:36 +0200
Subject: [PATCH] libc: implement getenv()

---
 libc/libc.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libc/libc.cc b/libc/libc.cc
index 88119b1cd..2b411058c 100644
--- a/libc/libc.cc
+++ b/libc/libc.cc
@@ -48,3 +48,9 @@ char* realpath(const char* path, char* resolved_path)
     strcpy(resolved_path, ret.c_str());
     return resolved_path;
 }
+
+char* getenv(const char* name)
+{
+    // no environment
+    return NULL;
+}
-- 
GitLab