On success, the total number of characters written is returned. This count does not include the additional null-character automatically appended at the end of the string.
成功返回写字符的总数,其中不包括结尾的null字符。
On failure, a negative number is returned.失败了,返回一个负数。
输出:
[5 plus 3 is 8] is a 13 char long string