Home | History | Annotate | Download | only in resolv

Lines Matching defs:res_init

87 	return ((_nres.options & RES_INIT) == 0U) || res_get_dns_changed();
90 #define res_need_init() ((_nres.options & RES_INIT) == 0U)
94 res_init(void) {
121 * fields of _res before res_init() is called, res_init() will not
123 * _zero_ before calling res_init(), hoping to override what used
130 * before res_init() was first called. We can't replicate that semantic
133 * "broken". They could fool us by setting RES_INIT but none do (yet).
139 if (!(_nres.options & RES_INIT))
168 if (res_need_init() && res_init() == -1)
184 if (res_need_init() && res_init() == -1) {
196 if (res_need_init() && res_init() == -1) {
211 if (res_need_init() && res_init() == -1) {
235 if (res_need_init() && res_init() == -1) {
236 /* errno should have been set by res_init() in this case. */
248 if (res_need_init() && res_init() == -1) {
249 /* errno should have been set by res_init() in this case. */
265 if (res_need_init() && res_init() == -1) {
280 if (res_need_init() && res_init() == -1) {
295 if (res_need_init() && res_init() == -1) {
322 res_init();