被strncpy搞糊涂的snprintf
摘要:
摘自man文档: The strncpy() function is similar, except that at most n bytes of src are copied. Warning: If there is no null byte among the first n bytes of src, the string placed in dest will not benull-t... 阅读全文
posted @ 2014-04-24 15:45 techsunny 阅读(316) 评论(0) 推荐(0) 编辑