musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 7b9f57f207 fix open_[w]memstream behavior when no writes take place
the specification for these functions requires that the buffer/size
exposed to the caller be valid after any successful call to fflush or
fclose on the stream. the implementation's approach is to update them
only at flush time, but that misses the case where fflush or fclose is
called without any writes having taken place, in which case the write
flushing callback will not be called.

to fix both the observable bug and the desired invariant, setup empty
buffers at open time and fail the open operation if no memory is
available.
2015-10-08 22:10:09 +00:00
arch fix signal return for sh/fdpic 2015-09-23 18:33:49 +00:00
crt make sh crti/crtn init/fini fragments setup proper stack frame 2015-09-12 02:50:28 +00:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include remove attribute((const)) from pthread_self and errno location decls 2015-09-17 04:45:01 +00:00
lib new solution for empty lib dir (old one had some problems) 2011-02-17 17:12:52 -05:00
src fix open_[w]memstream behavior when no writes take place 2015-10-08 22:10:09 +00:00
tools fix instruction matching errors in i386 CFI generation 2015-10-08 21:04:41 +00:00
.gitignore add musl-clang, a wrapper for system clang installs 2015-07-06 23:52:16 +00:00
configure eliminate protected-visibility data in libc.so with vis.h preinclude 2015-09-29 02:44:05 +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 factor common awk functions for CFI generation scripts into new file 2015-10-08 21:03:10 +00:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.11 2015-08-30 04:15:56 +00:00
WHATSNEW release 1.1.11 2015-08-30 04:15:56 +00: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/