Blame view

3rdparty/gb28181_3rd/jrtplib-3.11.2/tools/strncpystest.cpp 122 Bytes
5792f910   Hu Chunming   28181 三方库
1
2
3
4
5
6
7
8
  #include <string.h>
  
  int main(void)
  {
  	char hostname[1024];
  	strncpy_s(hostname,1024,"localhost",_TRUNCATE);
  	return 0;
  }