使用字符串函数长度检查较为频密。
这个函数将返回写入的字符串长度;如果执行失败将返回False。
This function returns the length of the written string, or FALSE on failure.
函数将返回书写的字符串长度。
The fprintf() function returns the length of the written string.
函数将返回书写的字符串长度。
The fprintf() function returns the length of the written string.
应用推荐