about summary refs log tree commit diff
path: root/src/network/getservbyname.c
Commit message (Collapse)AuthorAgeFilesLines
* improve getservbyname_r using new resolver backendRich Felker2014-06-011-1/+1
| | | | | | | | | | | | now that host and service lookup have been separated in the backend, there's no need for service lookup functions to pull in the host lookup code. moreover, dynamic allocation is no longer needed, so this function should now be async-signal-safe. it's also significantly smaller. one change in getservbyname is also made: knowing that getservbyname_r needs only two character pointers in the caller-provided buffer, some wasted bss can be avoided.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+12