Disambiguate netdb.h error codes

gethostbyname() and gethostbyaddr() use a different set of error codes
than POSIX netdb.h. Some OSes define the error numbers such that error
codes conflict between the two sets. Hence keep the sets separate.
This commit is contained in:
Lassi Kortela 2020-08-09 16:27:58 +03:00
parent d325c60a6d
commit 7f62d8f3e7
1 changed files with 4 additions and 1 deletions

View File

@ -13,8 +13,11 @@
(id mysql)
(description "MySQL and MariaDB database errors")
(id gethostby)
(description "gethostbyname() and gethostbyaddr() return values")
(id netdb)
(description "POSIX/Unix netdb.h error values")
(description "POSIX/Unix netdb.h EAI error values")
(id postgresql)
(description "PostgreSQL errors")