home bbs files messages ]

Just a sample of the Echomail archive

COMPOSVM:

<< oldest | < older | list | newer > | newest >> ]

 Message 263,376 of 264,034 
 =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All 
 Re: PZMQ 
 19 Sep 25 21:15:06 
 
From: arne@vajhoej.dk

On 9/19/2025 8:35 PM, Lawrence D’Oliveiro wrote:
> On Fri, 19 Sep 2025 08:26:43 -0400, Arne Vajhøj wrote:
>> On 9/18/2025 10:17 PM, Lawrence D’Oliveiro wrote:
>>> Does perror(3) take care of this for you?
>>
>> I do not have any intention of wrap perror - it is a very specific
>> composite function.
>
> Then the problem is that you have to repeat that long sequence of code in
> every project.

If a big application were to use this, then they will have to add
a library function for it or more likely they already have one.

But the implementation will likely be different for different
places.

Target: SYS$OUTPUT, SYS$ERROR, syslog or something else.
Format: single text lines, JSON, XML or something else.
Information: any combination of string argument, errno text,
time, code location, system and maybe a few more.

The chance that a VMS Pascal application will standardize
on perror style (SYS$ERROR, single text line, string argument +
errno text) seems pretty slim to me.

Arne

--- SoupGate-Win32 v1.05
 * Origin: you cannot sedate... all the things you hate (1:229/2)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca