Newlib: Added enviroment emulation via the file /sys/settings/system.env

git-svn-id: svn://kolibrios.org@9959 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat
2024-01-14 01:52:02 +00:00
parent 034dd79f43
commit 43e723374e
8 changed files with 118 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ _DEFUN (_findenv, (name, offset),
register _CONST char *name _AND
int *offset)
{
return NULL; //_findenv_r (_REENT, name, offset);
return _findenv_r (_REENT, name, offset);
}
/*
@@ -86,8 +86,7 @@ _DEFUN (getenv, (name),
_CONST char *name)
{
int offset;
return NULL; //_findenv_r (_REENT, name, &offset);
return _findenv_r (_REENT, name, &offset);
}
#endif /* !_REENT_ONLY */