micropython-lib/_libc
Paul Sokolovsky a6dee730f3 _libc: Helper FFI module to find and load proper libc for the system.
It's needed because different LIBC implementation use different shared
library names, so this module abstracts operation of finding the correct
one.

Default search order:

1. libc.so. This is usually doesn't exist, but user can create such symlink,
and it will be used fast.
2. libc.so.0, as used by current uClibc versions.
3. libc.so.6, as used by current Glibc versions.

uClibc is tried first because system where it is used are usually
underpowered to do array of attempts.

User can also override default search names by calling _libc.set_names(),
(which should be called before importing any other modules).
2014-06-21 04:09:22 +03:00
..
_libc.py _libc: Helper FFI module to find and load proper libc for the system. 2014-06-21 04:09:22 +03:00
metadata.txt _libc: Helper FFI module to find and load proper libc for the system. 2014-06-21 04:09:22 +03:00
setup.py _libc: Helper FFI module to find and load proper libc for the system. 2014-06-21 04:09:22 +03:00