summaryrefslogtreecommitdiff
path: root/src/libstddjb/env_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/env_get.c')
-rw-r--r--src/libstddjb/env_get.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/env_get.c b/src/libstddjb/env_get.c
new file mode 100644
index 0000000..927955f
--- /dev/null
+++ b/src/libstddjb/env_get.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/env.h>
+#include <skalibs/environ.h>
+
+char const *env_get (char const *s)
+{
+ return env_get2((char const **)environ, s) ;
+}