ctype.h, getenv
This commit is contained in:
parent
f973ff8cb8
commit
23198d16f4
7 changed files with 148 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue