Go to file
William Pitcock 061843340f implement the fopencookie extension to stdio
notes added by maintainer:

this function is a GNU extension. it was chosen over the similar BSD
function funopen because the latter depends on fpos_t being an
arithmetic type as part of its public API, conflicting with our
definition of fpos_t and with the intent that it be an opaque type. it
was accepted for inclusion because, despite not being widely used, it
is usually very difficult to extricate software using it from the
dependency on it.

calling pattern for the read and write callbacks is not likely to
match glibc or other implementations, but should work with any
reasonable callbacks. in particular the read function is never called
without at least one byte being needed to satisfy its caller, so that
spurious blocking is not introduced.

contracts for what callbacks called from inside libc/stdio can do are
always complicated, and at some point still need to be specified
explicitly. at the very least, the callbacks must return or block
indefinitely (they cannot perform nonlocal exits) and they should not
make calls to stdio using their own FILE as an argument.
2017-12-06 13:11:48 -05:00
arch s390x: use generic ioctl.h 2017-11-05 18:43:51 -05:00
crt add s390x port 2016-11-11 23:06:21 -05:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include implement the fopencookie extension to stdio 2017-12-06 13:11:48 -05:00
ldso fix malloc state corruption when ldso rejects loading a second libc 2017-11-13 15:27:10 -05:00
src implement the fopencookie extension to stdio 2017-12-06 13:11:48 -05: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
configure disable global visibility override hack (vis.h) by default 2017-08-11 00:17:00 -04:00
COPYRIGHT update COPYRIGHT file to clarify that permissions apply for all files 2016-04-28 20:41:45 -04:00
INSTALL add powerpc64 and s390x to list of supported archs in INSTALL file 2017-08-29 20:48:02 -04:00
Makefile increase limit on locale name length from 15 to 23 bytes 2017-03-21 12:19:47 -04:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.18 2017-10-31 15:13:58 -04:00
WHATSNEW release 1.1.18 2017-10-31 15:13:58 -04: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/