The cl-setlocale Reference Manual

This is the cl-setlocale Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 15:42:41 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-setlocale

FFI to setlocale and ncurses locale helper

Author

Vasily Postnicov <>

License

2-clause BSD

Version

0.1

Defsystem Dependency

cffi-grovel (system).

Dependency

cffi (system).

Source

cl-setlocale.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-setlocale/cl-setlocale.asd

Source

cl-setlocale.asd.

Parent Component

cl-setlocale (system).

ASDF Systems

cl-setlocale.


3.1.2 cl-setlocale/src/package.lisp

Source

cl-setlocale.asd.

Parent Component

cl-setlocale (system).

Packages

cl-setlocale.


3.1.3 cl-setlocale/src/constants.lisp

Dependency

src/package.lisp (file).

Source

cl-setlocale.asd.

Parent Component

cl-setlocale (system).


3.1.4 cl-setlocale/src/setlocale.lisp

Dependency

src/constants.lisp (file).

Source

cl-setlocale.asd.

Parent Component

cl-setlocale (system).

Public Interface
Internals

category->constant (function).


4 Packages

Packages are listed by definition order.


4.1 cl-setlocale

Source

src/package.lisp.

Use List
  • cffi.
  • common-lisp.
Public Interface
Internals

category->constant (function).


5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: set-all-to-native ()

This function sets LC_ALL locale to one of the native environment.

Package

cl-setlocale.

Source

src/setlocale.lisp.

Function: setlocale (category locale)

Set the locale. CATEGORY can be one of :LC-ALL, :LC-COLLATE, :LC-CTYPE, :LC-MESSAGES, :LC-MONETARY, :LC-NUMERIC or :LC-TIME. Locale is a string describing the desired locale. If this function succeeds, T is returned and set locale is returned as the second value. On failure NIL is returned

Package

cl-setlocale.

Source

src/setlocale.lisp.


5.2 Internals


5.2.1 Ordinary functions

Function: category->constant (category)
Package

cl-setlocale.

Source

src/setlocale.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables