摘要:
【问题描述】在Linux-2.6.23中strncpy的函数原型如下:Linux-2.6.23/lib/string.h(line110-134)/** * strncpy - Copy a length-limited, %NUL-terminated string * @dest: Where to copy the string to * @src: Where to copy the string from * @count: The maximum number of bytes to copy * * The result is not %NUL-terminated if the 阅读全文