仪表盘
版本库
文件存储
活动
搜索
登录
WI
/
Service.V1.0
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge branch 'master' of http://47.103.154.90:83/r/WI/Service.V1.0
TangCheng
2025-04-13
1aaaf72311b992e1885ecb393aab964d0637ce1f
[WI/Service.V1.0.git]
/
C_LANG
/
age_win
/
tc_util.c
1
2
3
4
5
6
#include <stdio.h>
char* strndup(const char* str, size_t n) {
char* newStr = _strdup(str);
newStr[n] = 0;
return newStr;
}