summaryrefslogtreecommitdiff
path: root/doc/ref/api-control.texi
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2005-08-06 00:40:16 +0000
committerKevin Ryde <user42@zip.com.au>2005-08-06 00:40:16 +0000
commit44ba562e29ebcf6dac3156d209fb26f537d029f2 (patch)
treec7711048c036ae062e05426b2983fd73ff5b9072 /doc/ref/api-control.texi
parent126c81dbb4d7c5e51e4543b12db77cf2e67694e5 (diff)
downloadguile-44ba562e29ebcf6dac3156d209fb26f537d029f2.tar.gz
(Error Reporting): In strerror, note message is in
locale language and charset.
Diffstat (limited to 'doc/ref/api-control.texi')
-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")