summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio_ext.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-10-13 17:52:01 -0700
committerElliott Hughes <enh@google.com>2017-10-15 10:37:51 -0700
commit5033918092f27179b0c2bbe3babceaed509d4935 (patch)
tree77f5a0f1eb5fec80dc7bc6a297eed66af83713b9 /libc/stdio/stdio_ext.cpp
parenta27bfd4131441a24fcfe6b5b3cf1cf9469be6719 (diff)
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
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions