Return to h_errno.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / resolv |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.2, 2008/04/28 20:23:00 | version 1.3, 2008/06/21 20:41:48 | ||
---|---|---|---|
|
|
||
#undef h_errno | #undef h_errno | ||
extern int h_errno; | extern int h_errno; | ||
extern struct __res_state _nres; | |||
int * | |||
__h_errno(void) | |||
{ | |||
return &_nres.res_h_errno; | |||
} | |||
void | void | ||
__h_errno_set(res_state res, int err) | __h_errno_set(res_state res, int err) |