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
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2019-03-07 20:20:25 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-04-03 18:07:55 +00:00
2020-02-14 21:09:12 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-07-07 14:10:58 -03:00
2020-01-01 00:14:33 +00:00
2020-02-14 21:12:45 -03:00
2020-02-14 21:12:45 -03:00
2020-01-01 00:14:33 +00:00
2018-04-19 08:49:52 -03:00
2018-04-19 08:49:52 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-13 08:27:27 -03:00
2017-09-25 18:04:16 -07:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-03-03 12:20:59 +01:00
2020-01-01 00:14:33 +00:00
2017-11-09 05:10:03 -08:00
2018-12-18 19:52:21 -02:00
2016-11-22 09:59:12 -08:00
2020-01-01 00:14:33 +00:00
2020-01-02 10:18:23 +01:00
2020-02-15 11:01:23 +01:00
2018-05-04 15:46:32 +00:00
2018-05-04 15:46:32 +00:00
2020-07-07 15:02:57 -03:00
2018-05-04 15:46:32 +00:00
2018-05-04 15:46:32 +00:00
2020-06-19 12:08:47 -03:00
2018-05-04 15:46:32 +00:00
2020-05-20 20:27:49 +02:00
2018-05-04 15:46:32 +00:00
2019-09-04 14:39:38 +02:00
2018-05-04 15:46:32 +00:00
2018-05-04 15:46:32 +00:00
2020-02-15 11:01:23 +01:00
2020-02-14 21:12:45 -03:00
2020-01-01 00:14:33 +00:00
2020-04-21 14:01:58 -03:00
2020-01-01 00:14:33 +00:00
2020-04-02 09:21:06 -07:00
2020-04-02 09:21:06 -07:00
2020-04-02 09:21:06 -07:00
2020-05-20 16:45:16 +02:00
2020-04-02 09:21:06 -07:00
2020-04-02 09:21:06 -07:00
2020-04-02 09:21:06 -07:00
2020-04-02 09:21:06 -07:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-12 16:55:30 -03:00
2020-01-01 00:14:33 +00:00
2020-02-14 21:12:45 -03:00
2017-08-30 22:02:04 +00:00
2020-07-07 14:10:58 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-14 21:12:45 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00