glibc/sysdeps/unix/sysv/linux/csky
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
..
abiv2 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
bits Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sys Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
arch-syscall.h Update syscall lists for Linux 5.6. 2020-04-03 18:07:55 +00:00
c++-types.data Add C-SKY port 2018-12-21 09:48:04 +08:00
configure Add C-SKY port 2018-12-21 09:48:04 +08:00
configure.ac Add C-SKY port 2018-12-21 09:48:04 +08:00
Implies Add C-SKY port 2018-12-21 09:48:04 +08:00
jmp_buf-macros.h Add C-SKY port 2018-12-21 09:48:04 +08:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ld.abilist ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libanl.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
libBrokenLocale.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
libc.abilist string: Add strerrorname_np and strerrordesc_np 2020-07-07 15:02:57 -03:00
libcrypt.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
libdl.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
libm.abilist Make totalorder and totalordermag functions take pointer arguments. 2019-08-15 15:18:34 +00:00
libpthread.abilist nptl: Move pthread_gettattr_np into libc 2020-05-20 20:27:49 +02:00
libresolv.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
librt.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
libthread_db.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
libutil.abilist Add C-SKY port 2018-12-21 09:48:04 +08:00
localplt.data ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
makecontext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile Add C-SKY port 2018-12-21 09:48:04 +08:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shlib-versions Add C-SKY port 2018-12-21 09:48:04 +08:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syscalls.list Add C-SKY port 2018-12-21 09:48:04 +08:00
sysdep.h linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
Versions Add C-SKY port 2018-12-21 09:48:04 +08:00