[En-Nut-Discussion] errno.h and net/errno.h

Matthias Ringwald mringwal at inf.ethz.ch
Thu Oct 21 21:11:36 CEST 2004


hi

some time ago I complained about the existence of an <errno.h> and an 
<net/errno.h> in nut includes
whereas the later defines a subset of the constants of the first but 
adds 10000 to every value.

is there a reason to have different errno values for /net and the rest?

if yes, then I would argue that also a NET_ prefix would be apropriate.
if no, I'd like to remove it, or for the sake of backward compatibilty
put #include <errno.h> in there.

opinions?

matthias




More information about the En-Nut-Discussion mailing list