C語言中有關string的函數詳解

@函數名稱:   strdup 函數原型:   char *strdup(const char *s) 函數功能:   字符串拷貝,目的空間由該函數分配  函數返回:   指向拷貝後的字符串指針 參數說明:   src-待拷貝的源字符串 所屬文件:   <string.h> less #include <stdio.h> #include <string.h> #include <alloc.h>
相關文章
相關標籤/搜索