Thus, script 4.pl gave me the error "Can't find stringterminator \343 anywhere before EOF at ./4.pl line 7." (in which \343 was an unrelated character).
因此,script 4.pl 会报告一个错误“Can't find string terminator \343 anywhere before EOF at ./4.pl line 7.” (其中 \343 是一个无关字符)。
2
When told to print no more than n bytes, snprintf guarantees that it creates a string of length no more than n-1, with a null terminator at the end of the string.
当被告知输出不超过 n 个字节时, snprintf 保证会创建一个长度不超过 n-1 的字符串,字符串最后是一个空结束符。
3
Writes any pending tab spacing and a formatted string that contains the text representation of an object array, followed by a line terminatorstring, to the output stream.