shithub: scc

Download patch

ref: 4eb0595fdcfb5064a5f81b1ffe4fb2de4c6a3dd3
parent: 6dfb406ca799ed94292d29d7568cbe691b641a83
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Dec 6 15:32:56 EST 2017

[lib/c] Add getenv() to the arch primitive list

--- a/lib/c/src/syscall.h
+++ b/lib/c/src/syscall.h
@@ -7,3 +7,4 @@
 extern void _Exit(int status);
 extern int raise(int sig);
 extern void (*signal(int sig, void (*func)(int)))(int);
+extern getenv(const char *var);