Deutsch English Français Italiano |
<vrch3p$34hfi$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Jim Duff <jim@bad.invalid> Newsgroups: comp.os.vms Subject: Re: Error Number to Symbol Date: Wed, 19 Mar 2025 06:21:29 +1100 Organization: A noiseless patient Spider Lines: 19 Message-ID: <vrch3p$34hfi$1@dont-email.me> References: <44eb1a056232d61f311df18d9fe1d0084c5383ca@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 18 Mar 2025 20:21:30 +0100 (CET) Injection-Info: dont-email.me; posting-host="d5e629d16734aaf9511377348294dd86"; logging-data="3294706"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3BivqpAkayXGJjG/cLx8l" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:qyO0qywUNcJoKqMxmKUuQoDw38s= In-Reply-To: <44eb1a056232d61f311df18d9fe1d0084c5383ca@i2pn2.org> Content-Language: en-US On 18/3/25 16:24, Michael Brown wrote: > > This might be a typical newbie question but I can't find any reference > to it on the net. > > Working in C, how do you return 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. > > https://www.eight-cubed.com/examples/framework.php?file=lib_sys_getmsg.c Cheers Jim -- eight-cubed.com