History log of /bionic/libc/bionic/netdb.cpp
Revision Date Author Comments
5033918092f27179b0c2bbe3babceaed509d4935 14-Oct-2017 Elliott Hughes <enh@google.com> Complete <netdb.h>.

Add all the missing <netdb.h> functions.

Also fix getservbyport to handle a null protocol correctly.

Also fix getservbyname/getservbyport to not interfere with getservent.

Also fix endservent to reset getservent iteration.

Also reduce unnecessary differences from upstream NetBSD sethostent.c.

The servent implementation is still horrific, and we should
probably support protoent too so that debugging tools can use
getprotobyname/getprotobynumber.

Bug: N/A
Test: ran tests
Change-Id: I639108c46df0a768af297cf3bbce857cb1bef9d9
e4510a2779cba5fff5d09b17fcc288d7ae04660b 06-Apr-2016 Elliott Hughes <enh@google.com> Break up the rest of stubs.cpp.

Bug: http://b/27999086
Change-Id: Ibcc2c5171d43ebd26b486642052738473f3b7714