Sujet : Re: Error Number to Symbol
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.vmsDate : 18. Mar 2025, 06:58:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vrb21i$1sjec$2@dont-email.me>
References : 1
User-Agent : Pan/0.162 (Pokrosvk)
On Tue, 18 Mar 2025 16:24:46 +1100, Michael Brown wrote:
Working in C, how do you return the RMS$_CODE symbol for any given error
number as returned from any operation?
The $GETMSG system service comes to mind. I see there is a library routine
LIB$SYS_GETMSG, not sure what that does that the system service call does
not.
There is also $PUTMSG, which is kind of like perror(3), but not quite.