Deutsch   English   Français   Italiano  
<f96165dde75337ce16c809cf96d03a24216699a4@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Michael Brown <brown_mi@decuserve.org>
Newsgroups: comp.os.vms
Subject: C Error Number to Symbol
Date: Wed, 19 Mar 2025 12:02:41 +1100
Organization: House Harris Software
Message-ID: <f96165dde75337ce16c809cf96d03a24216699a4@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 19 Mar 2025 01:02:41 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="780554"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="GwTNKfv9ol/2gq1jYpHTGGj3rZP9lYPWWhlaSWafPM8";
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Spam-Checker-Version: SpamAssassin 4.0.0
Bytes: 1287
Lines: 15


This might be a very simple question but I can't find any reference to 
it on the net.

Working in C, how do you get the RMS$_CODE symbol for any given error 
number as returned from any operation? I use strerror() to get an 
interpretation but it does not include said symbol.

exit(rms_return_number); will print it out so I know it must be possible.


-- 
House Harris Software.
Making the world a safer place for our products.
https://eisner.decus.org/~brown_mi