Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 263,369 of 264,096    |
|    Lawrence =?iso-8859-13?q?D=FFOlivei to All    |
|    Re: PZMQ    |
|    19 Sep 25 02:17:43    |
   
   From: ldo@nz.invalid   
      
   On Thu, 18 Sep 2025 20:21:51 -0400, Arne Vajhøj wrote:   
      
   > Instead of:   
   >   
   > retval := zmq_connect(s, addr);   
   > if retval <> 0 then begin   
   > writeln('error');   
   > end;   
   >   
   > it is now possible to do:   
   >   
   > retval := zmq_connect(s, addr);   
   > if retval <> 0 then begin   
   > e := errno; writeln(strerror(e));   
   > end;   
   >   
   > or even:   
   >   
   > retval := zmq_connect(s, addr);   
   > if retval <> 0 then begin   
   > e := errno;   
   > if e <> EVMSERR then begin   
   > writeln(strerror(e));   
   > end else begin   
   > e := vmserrno; writeln(strvmserror(e));   
   > end;   
   > end;   
      
   Does perror(3) take care of this for you?   
      
   --- 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