]> andersk Git - splint.git/blob - test/manual/updateMyEnv.c
Added test cases from the buffer checking chapter of the manual.
[splint.git] / test / manual / updateMyEnv.c
1 #include<string.h>
2 #include<stdlib.h>
3
4
5
6
7
8
9
10
11 void updateMyEnv(char * str)
12 {
13   char * tmp;
14   tmp = getenv("MYENV");
15   if (tmp != NULL)
16     strcpy (str, tmp);
17
18 }
19
This page took 0.085206 seconds and 5 git commands to generate.