1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Note setlocale raises a system-error when locale doesn't exist

doc/ref/posix.texi: note setlocale raises a system-error when locale
doesn't exist

Thanks to Francesco P. Lovergine for suggesting the
addition (https://bugs.debian.org/1078681).
This commit is contained in:
Rob Browning 2025-02-20 20:55:36 -06:00
parent 29c27afe96
commit e1a6622b3b

View file

@ -3822,6 +3822,10 @@ process. @xref{i18n Introduction, locale objects and
@code{make-locale}}, for a thread-safe alternative.
@end deffn
A @code{system-error} exception (@pxref{Handling Errors}) is raised by
@code{setlocale} when @var{locale-name} does not match any of the
locales compiled on the system.
@node Encryption
@subsection Encryption
@cindex encryption