summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-05-18 17:41:25 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-19 10:36:21 -0300
commit59f17be00b48eadc9ad791788235f8be7c9b4c20 (patch)
treec82f04750f39699a8573b005f05db0915b6f42eb /sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
parent6e443c2d7fad5de3e15f55ef479973c7a8655796 (diff)
downloadglibc-azanella/sig_err-improvements.tar.gz
string: Add strerrorname and strerrordescazanella/sig_err-improvements
The strerrorname returns error number name (i.g. "EINVAL" for EINVAL) while strerrordesc returns string describing error number (i.g "Invalid argument" for EINVAL). Different than strerror, strerrordesc does not attempt to translate the return description and both functions return NULL for an invalid error number. They should be used instead of sys_errlist and sys_nerr and both are thread and async-signal safe. These functions are GNU extensions. Checked on x86-64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu, and s390x-linux-gnu.
Diffstat (limited to 'sysdeps/unix/sysv/linux/microblaze/le/libc.abilist')
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/le/libc.abilist2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
index 099d51e893..e102493f6c 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
@@ -2149,3 +2149,5 @@ GLIBC_2.32 pthread_getattr_np F
GLIBC_2.32 pthread_sigmask F
GLIBC_2.32 sigabbrev_np F
GLIBC_2.32 sigdescr_np F
+GLIBC_2.32 strerrordesc F
+GLIBC_2.32 strerrorname F