mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 00:38:31 +00:00
Add more missing libc functionality
This commit is contained in:
parent
cf93ecbbb2
commit
a8cf0f7e89
74 changed files with 6981 additions and 105 deletions
|
@ -62,6 +62,7 @@ forceinline char *GetEnv(const char *s, int xlat(int)) {
|
|||
*/
|
||||
char *getenv(const char *s) {
|
||||
char *r;
|
||||
if (!s) return 0;
|
||||
if (!IsWindows()) {
|
||||
r = GetEnv(s, Identity);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue