summaryrefslogtreecommitdiff
path: root/src/network/getservbyname.c
AgeCommit message (Collapse)AuthorLines
2014-06-01improve getservbyname_r using new resolver backendRich Felker-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.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+12