Blame view

3rdparty/jrtplib-3.11.2/tools/strncpystest.cpp 122 Bytes
3d2ab595   Hu Chunming   支持gb28181
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;
  }