summaryrefslogtreecommitdiff
path: root/os/port/noenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/port/noenv.c')
-rw-r--r--os/port/noenv.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/os/port/noenv.c b/os/port/noenv.c
new file mode 100644
index 00000000..446945ac
--- /dev/null
+++ b/os/port/noenv.c
@@ -0,0 +1,33 @@
+/*
+ * use this when devenv.c not used
+ */
+#include "u.h"
+#include "../port/lib.h"
+#include "../port/error.h"
+#include "mem.h"
+#include "dat.h"
+#include "fns.h"
+
+/*
+ * null kernel interface
+ */
+Egrp*
+newegrp(void)
+{
+ return nil;
+}
+
+void
+closeegrp(Egrp*)
+{
+}
+
+void
+egrpcpy(Egrp*, Egrp*)
+{
+}
+
+void
+ksetenv(char*, char*, int)
+{
+}