Sujet : Re: Error Number to Symbol
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 18. Mar 2025, 14:56:50
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vrbu32$2jno3$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 3/18/2025 1:58 AM, Lawrence D'Oliveiro wrote:
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.
Classic LIB$ SYS$ difference in API style:
SYS$ LIB$
optional arguments require placeholder can be omitted
readonly integer argument by value by reference
string arguments fixed length only dynamic ok
Arne