Sorry for the ambiguity. I am trying to get the enviroment variables as a list and then be able to search for specific variable and output the result.
Type: Posts; User: athene
Sorry for the ambiguity. I am trying to get the enviroment variables as a list and then be able to search for specific variable and output the result.
Thanks for that.
but
That code I have at the moment just prints out the enviroment variables, how can I manipulate the data so I can use strchr to print the result of the search?
What I am trying to do is be able to search for a variable starting with a chosen character using the <string.h> header.
The code so for......
insert
#include <stdio.h>
#include...