1
0
This commit is contained in:
Daniel Tartavel 2020-05-08 14:51:57 +02:00
parent 4ff76b1392
commit d3da26f037

10
main.c
View File

@ -212,7 +212,7 @@ int getprocinfo( int ppid, char cmdline[], char cmd[], char user[], char host_ip
return retval;
}
int main()
int main(int argc,char **argv,char** envp)
{
FILE *fh;
FILE *fh1;
@ -243,6 +243,14 @@ int main()
char date[60];
time_t now ;
char * locale;
char** env;
for(env=envp;*env!=0;env++)
{
char* thisEnv = *env;
printf("%s\n",thisEnv);
}
locale = setlocale(LC_ALL,"");
locale = setlocale(LC_ALL,NULL);
time( &now );