Chinaunix

标题: strcpy ,strncpy ,strlcpy地用法 [打印本页]

作者: aobai    时间: 2011-03-15 15:44
标题: strcpy ,strncpy ,strlcpy地用法
strlcpy 的头文件  是什么??  

怎么找不到
作者: wb112200    时间: 2011-03-15 15:52
strlcpy? 没见过 也没用过....
作者: wb112200    时间: 2011-03-15 15:54
l 是什么意思? 难道是 标识‘长’(长度比unsigned Int 长) 字符串用的.....
作者: egmkang    时间: 2011-03-15 15:56
man strcpy
man strncpy
貌似都有例子
strlcpy没见过也没找到..
作者: hellioncu    时间: 2011-03-15 15:57
strlcpy 不是ANSI的
作者: aobai    时间: 2011-03-15 16:02
http://www.linuxpig.com/2011/03/c-strcpy-strncpy-strlcpy/




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2