introduce uppercase macros SOCKERRNO, SET_SOCKERRNO(), ERRNO and SET_ERRNO()
authorYang Tse <yangsita@gmail.com>
Thu, 15 Feb 2007 16:23:24 +0000 (16:23 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 15 Feb 2007 16:23:24 +0000 (16:23 +0000)
commitc2f42a9bf4290e45ef4f9cced856ca03268089ef
tree3a729cceb92a8cafdf369bc4f9b4ba927be33086
parent3c769f98e8fe55bf160ed7f62e7526f3d42f0276
introduce uppercase macros SOCKERRNO, SET_SOCKERRNO(), ERRNO and SET_ERRNO()
making them available to any source code file which includes "setup.h".

Macro SOCKERRNO / SET_SOCKERRNO() returns / sets the *socket-related* errno
(or equivalent) on this platform to hide platform details to code using it.

Macro ERRNO / SET_ERRNO() returns / sets the NOT *socket-related* errno
(or equivalent) on this platform to hide platform details to code using it.
setup_once.h