wangzhengquan
2020-10-20 f6efcc24490168992b80ac777188a5c798e198ba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "usg_common.h"
 
int  test() {
    static int count = 0;
    count++;
    return count;
}
 
 
int main() {
    char host[128];
    const char * src = "192.168.20.21";
     memcpy( host, src, sizeof(host));
    printf("%s\n", host);
}