仪表盘
版本库
文件存储
活动
搜索
登录
WI
/
Service.V1.0
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
修复过滤bug
TangCheng
5 天以前
5afac0a3e55373d60b234ffd7392f13eb47e2968
[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;
}