📄 strndup.c
字号:
#ifndef _REENT_ONLY#include <_ansi.h>#include <reent.h>#include <stdlib.h>#include <string.h>char *_DEFUN (strndup, (str, n), _CONST char *str _AND size_t n){ return _strndup_r (_REENT, str, n);}#endif /* !_REENT_ONLY */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -