Sujet : Re: C Error Number to Symbol
De : craigberry (at) *nospam* nospam.mac.com (Craig A. Berry)
Groupes : comp.os.vmsDate : 19. Mar 2025, 17:08:42
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vreq6a$16r1p$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 3/19/25 9:29 AM, Michael Brown wrote:
On 20/3/25 00:38, Craig A. Berry wrote:
>
I _think_ what he wants is some kind of translation table between errno
values and VMS condition codes. For example, starting with errno of
ESRCH and getting to RMS$_RNF or vice versa. I'm not aware of any such
table, and if there were, it wouldn't be a one-to-one mapping.
yes if I get a return status of 98994 I would like to be able to look it up and get "RMS$_RNF" to output that in my error handling routine.
No, I guessed wrong. You are not dealing with errno at all but rather
VMS condition code to message lookup, which, as you've now discovered,
has already been fully answered.