glibc/sysdeps/unix/sysv/linux/m68k
Adhemerval Zanella 325081b9eb string: Add strerrorname_np and strerrordesc_np
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>
2020-07-07 15:02:57 -03:00
..
bits
coldfire string: Add strerrorname_np and strerrordesc_np 2020-07-07 15:02:57 -03:00
m680x0 string: Add strerrorname_np and strerrordesc_np 2020-07-07 15:02:57 -03:00
sys
Implies
Makefile
Versions
____longjmp_chk.c
arch-syscall.h
brk.c
c++-types.data
clone.S
configure
configure.ac
dl-librecon.h
dl-static.c
fxstat.c
fxstatat.c
getpagesize.c
getsysstats.c
kernel-features.h
kernel_sigaction.h
ldconfig.h
ldsodefs.h
lxstat.c
m68k-helpers.c
mmap_internal.h
mremap.S
register-dump.h
sigcontextinfo.h
syscall.S
syscalls.list
sysdep.S
sysdep.h
vfork.S
xstat.c