Files
Upsilon/liba
Romain Goyet d9b0132f16 [liba] Add a bridge for incomplete libc
For example, GLIBC doesn't provide strlcpy which we want to use

Change-Id: Iebbadfd42ca8e5dc089a8fe0b670fef843a10027
2016-10-04 14:22:19 +02:00
..
2016-09-26 12:22:15 +02:00
2016-09-26 12:22:15 +02:00
2015-09-01 22:58:16 +02:00

liba is an adhoc libc.

Warning: you must call "liba_init()" before using liba.

We need a very small subset of the functionality provided by the standard C
library. We could use an available libc implementation, but those are usually
way too large and may have problematic licenses.

It wouldn't even be fair to call liba a libc at all since it doesn't come close
to implementing a significant portion of the standard. However, we do need some
functionality usually provided by libc, so instead of reinventing the wheel we
just implement the same entities (types, functions, etc…).