Richard Gray wrote:

we can add the symbol

   XYZ037 Frambastat could not be initialized, errno = 226 (EADDRINUSE)

which is more meaningful, particularly given that the higher errno values are different on different platforms.  We could use strerror(), but it's messages are much longer and sometimes not quite right in the context of an error we get.

One would need to generate such an errno_table[]
for all supported (and unforeseen) compilers/targets.
Since most 'Ex' values are not unique among targets.
How can libcurl do that best? An included errno-file
for each target?

--
--gv
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to