[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
strerrorname_np returns NULL for some defined errno values
From: |
Bruno Haible |
Subject: |
strerrorname_np returns NULL for some defined errno values |
Date: |
Sat, 03 Sep 2022 08:28:31 +0200 |
The function strerrorname_np is supposed to return non-NULL for all defined
errno values. [1]
On Hurd, for the errnos with names
ED_*
EKERN_*
EMACH_*
EMIG_*
it returns NULL.
How to reproduce:
$ gcc -Wall foo.c
$ ./a.out
Seen on Debian GNU/Hurd, with glibc 2.34.
[1] https://www.gnu.org/software/libc/manual/html_node/Error-Messages.html
foo.c
Description: Text Data
- strerrorname_np returns NULL for some defined errno values,
Bruno Haible <=