仪表盘
版本库
文件存储
活动
搜索
登录
WI
/
Service.V1.0
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
age_win的开发环境加入
TangCheng
2025-04-12
d6b06e5d2f8ca0efb5566fdcf29d15567f339b2a
[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;
}