1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-11 02:22:26 +03:00
Files
glibc/sysdeps/mach/hurd
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
..
2020-07-07 14:10:58 -03:00
2018-01-28 16:28:48 +01:00
2020-06-28 16:34:14 +00:00
2020-05-28 23:30:57 +00:00
2020-06-28 22:46:21 +00:00
2020-06-28 22:46:21 +00:00
2020-06-20 13:49:57 +00:00
2020-06-28 22:46:21 +00:00
2020-06-07 23:36:10 +00:00
2020-06-28 16:34:14 +00:00
2020-06-28 18:04:27 +00:00
2020-02-27 16:16:17 -03:00