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-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
2018-06-26 21:48:48 +00:00
2018-06-26 21:48:48 +00:00
2018-06-26 21:48:48 +00:00
2018-07-18 21:04:12 +00:00
2017-11-02 12:45:20 +01:00
2019-01-03 11:12:39 -05:00
2020-07-07 14:54:12 +00:00
2014-12-15 10:09:33 +01:00
2014-12-15 10:09:33 +01:00
2014-12-15 10:09:33 +01:00
2011-02-20 07:59:49 -05:00
2011-08-20 09:22:16 -04:00
2017-03-22 08:44:32 -04: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-07-07 14:10:58 -03:00
2020-07-07 15:02:57 -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-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-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-07-07 14:10:58 -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-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-04-30 08:52:08 -05:00
2013-10-12 14:47:50 +02:00
2020-07-07 14:10:58 -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
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
2017-02-25 09:59:46 -05:00
2017-02-25 09:59:46 -05:00
2020-01-01 00:14:33 +00:00
2009-10-30 09:23:24 -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-07-07 14:57:14 -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-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2015-08-06 02:59:04 -04:00
2020-01-01 00:14:33 +00:00
2020-07-07 15:02:57 -03:00
2020-01-01 00:14:33 +00:00
2013-06-07 22:24:35 +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
2018-12-05 18:15:43 -02:00
2020-01-01 00:14:33 +00:00
2014-11-05 15:24:08 +05:30
2020-07-07 14:10:58 -03:00
2018-07-18 21:04:12 +00:00
2015-08-06 02:59:04 -04:00
2017-11-16 11:49:26 +05:30
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
2017-11-02 12:45:20 +01:00
2020-01-01 00:14:33 +00:00
2017-11-16 11:49:26 +05:30
2020-01-01 00:14:33 +00:00
2011-01-12 20:37:51 -05:00
2020-01-01 00:14:33 +00:00
2014-11-05 15:24:08 +05:30
2014-11-05 15:24:08 +05:30
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-03-20 11:02:38 -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
2017-02-25 09:59:46 -05:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2018-10-17 09:34:13 +02:00
2020-01-01 00:14:33 +00:00
2014-11-05 15:24:08 +05:30
2020-01-01 00:14:33 +00:00
2017-02-25 09:59:46 -05:00
2020-01-01 00:14:33 +00:00
2017-11-02 12:45:20 +01:00
2020-01-01 00:14:33 +00:00
2014-11-05 15:24:08 +05:30
2020-01-01 00:14:33 +00:00
2018-07-18 21:04:12 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-04-30 08:52:08 -05:00
2020-07-07 14:54:12 +00:00
2020-01-01 00:14:33 +00:00
2014-11-05 15:24:08 +05:30
2017-11-02 12:45:20 +01:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2018-12-05 18:15:42 -02:00
2020-07-07 14:54:12 +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
2018-12-05 18:15:42 -02:00
2020-01-01 00:14:33 +00:00
2018-12-05 18:15:42 -02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2015-10-16 20:21:49 +00:00