[zeromq-dev] Examples and returned errors

Bjorn Reese breese at mail1.stofanet.dk
Thu May 31 18:15:54 CEST 2012


On 2012-05-31 16:51, Marco Trapanese wrote:
> Il 31/05/2012 16:25, Pieter Hintjens ha scritto:
>
>> The fact that errno changes is not significant. If rc is 0, errno is
>> _not_ significant.
>
>
> That wasn't clear to me before.
> Thank you for the clarification.

FYI, according to the Posix standard "The value of errno should only be
examined when it is indicated to be valid by a function's return value".



More information about the zeromq-dev mailing list