X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/4f43223cf5dcbc93630d4e446dfa8c31180275ee..f8f5727aec4b32be85157cc8dc840fcbe93a417f:/test/manual/updateMyEnv.c diff --git a/test/manual/updateMyEnv.c b/test/manual/updateMyEnv.c new file mode 100644 index 0000000..f2dafca --- /dev/null +++ b/test/manual/updateMyEnv.c @@ -0,0 +1,19 @@ +#include +#include + + + + + + + + +void updateMyEnv(char * str) +{ + char * tmp; + tmp = getenv("MYENV"); + if (tmp != NULL) + strcpy (str, tmp); + +} +