platform_bionic/libc
Elliott Hughes 2109f12c3b Add strerrordesc_np() and strerrorname_np().
strerrordesc_np() isn't very useful (being just another name for
strerror()), but strerrorname_np() lets you get "ENOSYS" for ENOSYS,
which will make some of our test assertion messages clearer when we
switch over from strerror().

This also adds `%#m` formatting to all the relevant functions.

Test: treehugger
Change-Id: Icfe07a39a307d591c3f4f2a09d008dc021643062
2023-09-27 11:21:12 -07:00
..
arch-arm [NFCI] Change Android's NT_TYPE to NT_ANDROID_TYPE. 2022-02-07 13:49:20 -08:00
arch-arm64 Fix the *return* types in the arm64 dynamic function dispatch. 2023-05-22 19:28:33 +00:00
arch-common/bionic Let executables not rely on sentinels in preinit_array/init_array/fini_array 2023-09-01 10:17:05 -07:00
arch-riscv64 Add the L() macro for local labels to <private/bionic_asm.h>. 2023-08-04 15:12:30 -07:00
arch-x86 Tidy up the x86 atom/silvermont stuff similar to x86-64. 2022-07-25 16:27:25 +00:00
arch-x86_64 Use L() in libc/arch-x86_64/bionic/*.S. 2023-08-07 09:34:06 -07:00
async_safe Add strerrordesc_np() and strerrorname_np(). 2023-09-27 11:21:12 -07:00
b64/include/bionic Export bionic's resolv base64 functions to musl 2022-02-03 16:25:26 -08:00
bionic Add strerrordesc_np() and strerrorname_np(). 2023-09-27 11:21:12 -07:00
dns Rewrite function definitions with identifier lists 2022-07-13 10:58:42 +08:00
execinfo/include Export bionic's execinfo functions to musl 2022-02-03 16:25:21 -08:00
fts/include Use the BSD license for our bogus fts.h. 2021-09-14 12:26:08 -07:00
include Add strerrordesc_np() and strerrorname_np(). 2023-09-27 11:21:12 -07:00
kernel Update to v6.5 kernel headers. 2023-09-06 19:33:21 -07:00
malloc_debug Modify how the malloc debug tests run. 2023-06-30 15:09:44 -07:00
malloc_hooks Disable clang-tidy for some malloc tests. 2023-01-10 16:57:44 -08:00
platform Merge "bionic: Fix typo in the argument passed to getauxval()" into main 2023-08-20 17:05:31 +00:00
private Add strerrordesc_np() and strerrorname_np(). 2023-09-27 11:21:12 -07:00
seccomp riscv64 syscall stub and seccomp filter generation. 2022-10-13 23:41:53 +00:00
stdio Add strerrordesc_np() and strerrorname_np(). 2023-09-27 11:21:12 -07:00
system_properties Merge "Consistent qualifier ordering." into main 2023-09-15 17:19:08 +00:00
tools Add __riscv_flush_icache() to <sys/cachectl.h>. 2023-07-12 16:30:55 -07:00
tzcode Fix tzalloc(nullptr) and add a test. 2023-06-22 09:51:01 -07:00
upstream-freebsd Reuse the libm scalbn() as ldexp(). 2023-07-20 21:05:44 +00:00
upstream-netbsd Merge "Sync upstream NetBSD." into main 2023-07-20 14:21:01 +00:00
upstream-openbsd Sync upstream OpenBSD. 2023-07-19 13:36:44 -07:00
versioner-dependencies Tell the version script generation script about risc-v. 2022-10-04 22:48:38 +00:00
Android.bp Disable warning which is not detecting problems. 2023-09-12 13:03:02 -07:00
BUILD Remove Commodore 64 support. 2022-10-19 16:13:09 +00:00
fs_config_generator.py
libc.map.txt Add strerrordesc_np() and strerrorname_np(). 2023-09-27 11:21:12 -07:00
libstdc++.map.txt Add riscv64 to the map files. 2022-10-04 23:52:57 +00:00
MODULE_LICENSE_BSD
NOTICE Expose tzalloc()/localtime_rz()/mktime_z()/tzfree(). 2023-06-16 08:10:47 -07:00
SECCOMP_ALLOWLIST_APP.TXT Fix a typo. 2022-11-08 02:52:29 +00:00
SECCOMP_ALLOWLIST_COMMON.TXT Punch a hole for clone3(2) use. 2023-09-05 22:58:43 +00:00
SECCOMP_ALLOWLIST_SYSTEM.TXT
SECCOMP_BLOCKLIST_APP.TXT Fix setfsgid()/setfsuid() for LP32. 2023-02-03 23:10:04 +00:00
SECCOMP_BLOCKLIST_COMMON.TXT
SECCOMP_PRIORITY.TXT
SYSCALLS.TXT Merge "Add epoll_pwait2()." into main 2023-09-05 21:48:08 +00:00
version_script.txt