Re: environment question



Bertrand Guiheneuf wrote:
> 
> this works prefectly for me:
> 
> extern char **environ;
> 
> int i;
> 
> main (int argc, char **argv) {
>   while (environ[i]) {
>     printf("%s\n", environ[i]);
>     i++;
>   }
> }
> 
> Bertrand
> 
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.

-- 
Halfline (Ray Strode)
ICQ UIN: 2478600



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]