aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-04-03 11:32:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-04-03 11:32:49 -0300
commit3f4f28010aa5065456f1edf97de1ab268cc49944 (patch)
tree18ef631f33d1e71cf7f9d20b67d9148499a9dcf4 /manual
parent93e347b51923a3f0b993aac37c74e1489c02f3b5 (diff)
downloadlua-3f4f28010aa5065456f1edf97de1ab268cc49944.tar.gz
lua-3f4f28010aa5065456f1edf97de1ab268cc49944.tar.bz2
lua-3f4f28010aa5065456f1edf97de1ab268cc49944.zip
io.write returns number of written bytes on error
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of3
1 files changed, 3 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of
index c1a9c138..7cd0d4db 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -8699,6 +8699,9 @@ Writes the value of each of its arguments to @id{file}.
8699The arguments must be strings or numbers. 8699The arguments must be strings or numbers.
8700 8700
8701In case of success, this function returns @id{file}. 8701In case of success, this function returns @id{file}.
8702Otherwise, it returns four values:
8703@fail, the error message, the error code,
8704and the number of bytes it was able to write.
8702 8705
8703} 8706}
8704 8707