Deutsch English Français Italiano |
<vrefcn$tfpi$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> Newsgroups: comp.os.vms Subject: Re: C Error Number to Symbol Date: Wed, 19 Mar 2025 13:04:23 -0000 (UTC) Organization: A noiseless patient Spider Lines: 20 Message-ID: <vrefcn$tfpi$1@dont-email.me> References: <f96165dde75337ce16c809cf96d03a24216699a4@i2pn2.org> Injection-Date: Wed, 19 Mar 2025 14:04:23 +0100 (CET) Injection-Info: dont-email.me; posting-host="60b7fd382390168dbfc192a7999398ce"; logging-data="966450"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eXlFz3KSNnjFPMFy3JR0WXHX0pERiw7k=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:Af3aC4i0BrFv0ZN3QN6Bnpe2ZxQ= Bytes: 1602 On 2025-03-18, Michael Brown <brown_mi@decuserve.org> wrote: > > 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. > Can you explain what was missing in the previous answers you received so the authors of those answers can clarify them if needed ? Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Walking destinations on a map are further away than they appear.