mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-08 20:40:11 +00:00
325081b9eb
The strerrorname_np returns error number name (e.g. "EINVAL" for EINVAL) while strerrordesc_np returns string describing error number (e.g "Invalid argument" for EINVAL). Different than strerror, strerrordesc_np does not attempt to translate the return description, both functions return NULL for an invalid error number. They should be used instead of sys_errlist and sys_nerr, 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. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||
---|---|---|
.. | ||
be | ||
bits | ||
le | ||
sys | ||
____longjmp_chk.S | ||
arch-syscall.h | ||
brk.c | ||
c++-types.data | ||
clock-compat.c | ||
clone.S | ||
fxstat.c | ||
fxstatat.c | ||
getsysstats.c | ||
Implies | ||
jmp_buf-macros.h | ||
kernel_stat.h | ||
kernel-features.h | ||
ld.abilist | ||
localplt.data | ||
lxstat.c | ||
Makefile | ||
pselect.c | ||
shlib-versions | ||
sigcontextinfo.h | ||
syscall.S | ||
syscalls.list | ||
sysctl.c | ||
sysdep.h | ||
sysdep.S | ||
Versions | ||
vfork.S | ||
xstat.c |