W
Web Developer
Hi,
I came across the term EDOM in a code. What does it mean?
WD
I came across the term EDOM in a code. What does it mean?
WD
Web Developer said:I came across the term EDOM in a code. What does it mean?
Both 'EDOM' and 'errno' are macros, Bazarov.
Not according to C99. EDOM is a macro but errno need not be.
an identifier declared with external linkage. If a macro
definition is suppressed in order to access an actual object,
or a program defines an identifier with the name errno, the
behavior is undefined". Now, as for C++, see tables 26 and 95.
'errno' is a standard macro in C++. End of story.
Attila Feher said:Alexander Terekhov wrote:
[SNIP]'errno' is a standard macro in C++. End of story.
Unfortunately it is (19.3/Table 26, Annex C/Table 95 both says MARCO).
Fortunately it is a macro (on my Solaris) compiling (well, precompiled) into
a thread-safe function call.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.