This commit adds support in if_indextoname() to return ENXIO when no interface is found. This conforms to the Open Group/RFC 3493 specification In order to leverage errno set support, the set_errno macro from sockets.c was moved to sockets_priv.h