musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 947d330f68 add _NL_LOCALE_NAME extension to nl_langinfo
since setlocale(cat, NULL) is required to return the setting for the
global locale, there is no standard mechanism to obtain the name of
the currently active thread-local locale set by uselocale. this makes
it impossible for application/library software to load appropriate
translations, etc. unless using the gettext implementation provided by
libc, which has privileged access to libc internals.

to fill this gap, glibc introduced the _NL_LOCALE_NAME macro which can
be used with nl_langinfo to obtain the name. GNU gettext/gnulib code
already use this functionality on glibc, and can easily be adapted to
make use of it on non-glibc systems if it's available; for other
systems they poke at locale implementation internals, which we want to
avoid. this patch provides a compatible interface to the one glibc
introduced.
2017-07-31 23:08:27 -04:00
arch fix omission of microblaze user.h definitions 2017-06-21 12:47:15 -04:00
crt add s390x port 2016-11-11 23:06:21 -05:00
dist
include add _NL_LOCALE_NAME extension to nl_langinfo 2017-07-31 23:08:27 -04:00
ldso allow specifying argv[0] when invoking a program via ldso command 2017-07-04 16:58:28 -04:00
src add _NL_LOCALE_NAME extension to nl_langinfo 2017-07-31 23:08:27 -04:00
tools
.gitignore remove obsolete gitignore rules 2016-07-06 00:21:25 -04:00
configure fix clang CFLAGS checks and silence unused argument warnings 2017-06-23 15:45:48 -04:00
COPYRIGHT update COPYRIGHT file to clarify that permissions apply for all files 2016-04-28 20:41:45 -04:00
INSTALL update documentation files for mips64 port 2016-03-06 17:48:58 +00:00
Makefile increase limit on locale name length from 15 to 23 bytes 2017-03-21 12:19:47 -04:00
README
VERSION release 1.1.16 2016-12-31 22:27:17 -05:00
WHATSNEW release 1.1.16 2016-12-31 22:27:17 -05:00

    musl libc

musl, pronounced like the word "mussel", is an MIT-licensed
implementation of the standard C library targetting the Linux syscall
API, suitable for use in a wide range of deployment environments. musl
offers efficient static and dynamic linking support, lightweight code
and low runtime overhead, strong fail-safe guarantees under correct
usage, and correctness in the sense of standards conformance and
safety. musl is built on the principle that these goals are best
achieved through simple code that is easy to understand and maintain.

The 1.1 release series for musl features coverage for all interfaces
defined in ISO C99 and POSIX 2008 base, along with a number of
non-standardized interfaces for compatibility with Linux, BSD, and
glibc functionality.

For basic installation instructions, see the included INSTALL file.
Information on full musl-targeted compiler toolchains, system
bootstrapping, and Linux distributions built on musl can be found on
the project website:

    http://www.musl-libc.org/