summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/getnameinfo.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Always call endservent_r() after getservbyport_r().eric2020-12-211-5/+6
| | | | | | Fix a memory leak when no entry is matched. ok florian
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-031-2/+2
|
* make a && && & block more readable. no binary change.deraadt2015-10-021-4/+7
| | | | discussed with otto
* Finish wrapping <netdb.h> so that calls go direct and the symbols are all weakguenther2015-09-141-1/+2
|
* getnameinfo(3) doesn't need to initialize the resolver when it's only usederic2015-05-251-1/+150
| | | | | | for address/port formatting (e.g. NI_NUMERICHOST). ok deraadt@ jca@
* Make the asr API public. Install asr.h to /usr/include.h and manpages.eric2014-03-261-3/+4
| | | | | | Include tweaks suggested by mpi@ ok deraadt@
* Cleanup and simplify the API to be exposed. Use better names foreric2014-03-251-5/+5
| | | | | | structures, functions and defines. discussed with and ok deraadt@ guenther@
* Make some symbols static and prefix all visible symbols with asr_eric2013-07-121-2/+2
| | | | | | to prevent collisions with third-party programs. suggested by sthen@, ok theo@
* Add minimal support for _res setup and update.eric2013-05-271-1/+3
| | | | | | | | Change res_init() to initialize the _res structure on first call, and udpate the global async context if changes were made by the user. All resolver functions now call res_init() internally. fixes issue spotted by otto@
* split asr_resolver.c into different files to overlay the libc/neteric2012-09-081-0/+49
resolver implementation.