#include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> void res_nclose(state* res)
The res_nclose() function is similar to res_close() but it uses a user-declared res pointer instead of the shared _res.
For a description of this function and more information on the parameters, authorities required, return values, error conditions, error messages, usage notes, and related information, see res_close()--Close Socket and Reset _res Structure.
Top | UNIX-Type APIs | APIs by category |