glibc/sysdeps/mach
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
..
htl hurd: Add __pthread_spin_wait and use it 2020-02-11 00:32:44 +01:00
hurd string: Add strerrorname_np and strerrordesc_np 2020-07-07 15:02:57 -03:00
i386 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
include hurd: Fix installed-headers tests 2018-07-20 03:28:08 +02:00
sys Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
_strerror.c string: Simplify strerror_r 2020-07-07 14:10:58 -03:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
clock_gettime.c y2038: hurd: Provide __clock_gettime64 function 2020-05-05 18:45:14 +02:00
clock_nanosleep.c hurd: Make nanosleep a cancellation point 2020-02-10 01:03:53 +00:00
configure hurd: Build stubs for new gnumach.defs 2018-01-28 19:38:29 +01:00
configure.ac hurd: Build stubs for new gnumach.defs 2018-01-28 19:38:29 +01:00
getloadavg.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libc-lock.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libmachuser.abilist hurd: add base abilist files 2018-01-28 17:26:35 +01:00
Makefile Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mprotect.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
msync.c hurd: Add remaining cancelation points 2020-06-28 22:46:21 +00:00
munmap.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pagecopy.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readonly-area.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sched_yield.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sleep.c hurd: Add remaining cancelation points 2020-06-28 22:46:21 +00:00
strerror_l.c string: Use tls-internal on strerror_l 2020-07-07 14:10:58 -03:00
Subdirs * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
thread_state.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
usleep.c hurd: Simplify usleep timeout computation 2020-06-29 10:10:32 +02:00
xpg-strerror.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00