#include <string.h>
char *strncat(char * restrict s1, const char * restrict s2, size_t n);
Thus, if there is no null character in the first n characters of the array pointed to by s2, the result will not be null-terminated.
歡迎光臨 Chinaunix (http://72891.cn/) | Powered by Discuz! X3.2 |