musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker c002668eb0 simplify/refactor fflush and make fflush_unlocked an alias for fflush
previously, fflush_unlocked was an alias for an internal backend that
was called by fflush, either for its argument or in a loop for each
file if a null pointer was passed. since the logic for the latter was
in the main fflush function, fflush_unlocked crashed when passed a
null pointer, rather than flushing all open files. since
fflush_unlocked is not a standard function and has no specification,
it's not clear whether it should be expected to accept null pointers
like fflush does, but a reasonable argument could be made that it
should.

this patch eliminates the helper function, simplifying fflush, and
makes fflush_unlocked an alias for fflush, which is valid because the
two functions agree in their behavior in all cases where their
behavior is defined (the unlocked version has undefined behavior if
another thread could hold locks).
2016-09-18 21:45:47 -04:00
arch microblaze: add syscall numbers from linux v4.7 2016-08-30 15:58:28 -04:00
crt add powerpc64 port 2016-05-08 22:57:40 -04:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include add missing *_unlocked and wcsftime_l prototypes to wchar.h 2016-09-16 18:18:34 -04:00
ldso generalize mips-specific reloc code not to hard-code sym/type encoding 2016-03-06 17:25:52 +00:00
src simplify/refactor fflush and make fflush_unlocked an alias for fflush 2016-09-18 21:45:47 -04:00
tools add CFI generation script for x86_64 2015-10-13 18:09:46 -04:00
.gitignore remove obsolete gitignore rules 2016-07-06 00:21:25 -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 deduplicate __NR_* and SYS_* syscall number definitions 2016-05-12 00:34:05 -05:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.15 2016-07-05 17:58:46 -04:00
WHATSNEW release 1.1.15 2016-07-05 17:58:46 -04:00
configure configure: handle mipsisa64* triplet as a mips64 target 2016-08-30 16:00:47 -04: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/