From 44ba562e29ebcf6dac3156d209fb26f537d029f2 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 6 Aug 2005 00:40:16 +0000 Subject: [PATCH] (Error Reporting): In strerror, note message is in locale language and charset. --- doc/ref/api-control.texi | 8 ++++++-- 1 file 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")