summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ref/api-control.texi8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/ref/api-control.texi b/doc/ref/api-control.texi
index 5f8037b52..f862b89cc 100644
--- a/doc/ref/api-control.texi
+++ b/doc/ref/api-control.texi
@@ -974,8 +974,12 @@ it will usually be @code{#f}.
@deffn {Scheme Procedure} strerror err
@deffnx {C Function} scm_strerror (err)
-Return the Unix error message corresponding to @var{err}, which
-must be an integer value.
+Return the Unix error message corresponding to @var{err}, an integer
+@code{errno} value.
+
+When @code{setlocale} has been called (@pxref{Locales}), the message
+is in the language and charset of @code{LC_MESSAGES}. (This is done
+by the C library.)
@end deffn
@c begin (scm-doc-string "boot-9.scm" "false-if-exception")