Hey so I'm trying to get one of my c variables to be a bash variable. Is there a way that I can do this?
AngusFloydKAOS
0
Newbie Poster
Recommended Answers
Jump to PostHey so I'm trying to get one of my c variables to be a bash variable. Is there a way that I can do this?
Exactly what do mean by 'to be a bash variable'. Do you mean the variable is shared between the C program and the shell or …
Jump to PostI mean I want to take a c variable and be able to use it in a script
The check out
NAME
setenv - change or add an environment variableSYNOPSIS
#include <stdlib.h>int setenv(const char *name, const char *value, int overwrite);
int unsetenv(const char *name);
SEE ALSO
clearenv(3), getenv(3), …
All 7 Replies
gerard4143
371
Nearly a Posting Maven
AngusFloydKAOS
0
Newbie Poster
gerard4143
371
Nearly a Posting Maven
AngusFloydKAOS
0
Newbie Poster
nezachem
616
Practically a Posting Shark
AngusFloydKAOS
0
Newbie Poster
nezachem
616
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.