summaryrefslogtreecommitdiffstats
path: root/usr/klibc/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/klibc/env.h')
-rw-r--r--usr/klibc/env.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/klibc/env.h b/usr/klibc/env.h
new file mode 100644
index 0000000..ae70be8
--- /dev/null
+++ b/usr/klibc/env.h
@@ -0,0 +1,10 @@
+#ifndef ENV_H
+#define ENV_H
+
+/* str should be a duplicated version of the input string;
+ len is the length of the key including the = sign */
+int __put_env(char *str, size_t len, int overwrite);
+
+extern char *const __null_environ[];
+
+#endif