musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker d87f0a9a95 avoid updating caller's size when getdelim fails to realloc
getdelim was updating *n, the caller's stored buffer size, before
calling realloc. if getdelim then failed due to realloc failure, the
caller would see in *n a value larger than the actual size of the
allocated block, and use of that value is unsafe. in particular,
passing it again to getdelim is unsafe.

now, temporary storage is used for the desired new size, and *n is not
written until realloc succeeds.
2015-12-19 23:43:31 -05:00
arch remove visibility suppression by SHARED macro in mips and x32 arch files 2015-12-15 23:18:38 -05:00
crt explicitly assemble all arm asm sources as UAL 2015-11-10 00:01:55 -05:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include fix mismatched parens in CMPLX def for annex-g-conforming compilers 2015-11-02 21:44:57 -05:00
lib new solution for empty lib dir (old one had some problems) 2011-02-17 17:12:52 -05:00
src avoid updating caller's size when getdelim fails to realloc 2015-12-19 23:43:31 -05:00
tools add CFI generation script for x86_64 2015-10-13 18:09:46 -04:00
.gitignore add musl-clang, a wrapper for system clang installs 2015-07-06 23:52:16 +00:00
COPYRIGHT update authors/contributors list 2015-03-16 18:43:54 -04:00
INSTALL update notice on broken gcc versions in INSTALL file 2014-07-31 19:02:54 -04:00
Makefile fix build regression from removal of #ifdef SHARED 2015-11-18 19:00:44 -05:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.12 2015-10-19 19:12:57 -04:00
WHATSNEW release 1.1.12 2015-10-19 19:12:57 -04:00
configure work around toolchains with broken visibility in libgcc/libpcc 2015-11-07 20:23:49 -05:00

README

    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/