ctype.h, getenv

This commit is contained in:
pommicket 2022-02-15 16:36:52 -05:00
parent f973ff8cb8
commit 23198d16f4
7 changed files with 148 additions and 12 deletions

View file

@ -431,10 +431,14 @@ double strtod(const char *nptr, char **endptr) {
int main();
static char **_envp;
int _main(int argc, char **argv) {
int i;
_Float p = {1, 0};
_envp = argv + argc + 1; // this is where the environment variables will be
stdin = &_stdin;
stdout = &_stdout;
stderr = &_stderr;