Prevent buffer overflow */ strncpy(s, "video", LEN-1); // copy size < LEN -1 s[Len - 1] = '\0'; // make sure string has '\0' /* 4. Check return value */ ret ...
確定! 回上一頁