[zeromq-dev] errno

john skaller skaller at users.sourceforge.net
Tue Jan 17 00:35:04 CET 2012

On 17/01/2012, at 9:16 AM, Martin Sustrik wrote:

> A-ha. That's what you mean. To do that we should gradually change the 
> internal implementation of 0MQ to use return values instead of errnos 
> everwhere. Adding a new safe API on top would be the final touch.

Yes. Internally you could also use the context object, though keeping stuff
on the stack is better (because it allows micro-context switching).

Of course errno is only one problem. stdin, stdout, stderr are another.
I18n/localisation support in C (fixed in C++ thankfully).

john skaller
skaller at users.sourceforge.net

More information about the zeromq-dev mailing list