http://blog.csdn.net/linyt/article/details/4383328 英文原文: http://www.gratisoft.us/todd/papers/strlcpy.html