summaryrefslogtreecommitdiffstats
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-04 22:16:43 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-04 22:16:43 (GMT)
commit7d896ab1bbd5e15be7ae9203ead47f4f500a6a81 (patch)
tree798a22d0702c80fc3222ac8512a9c8fd4cf0b364 /Python/modsupport.c
parent45f2601cf38b11647df3a3dd45465d4c57c77dfc (diff)
downloadcpython-7d896ab1bbd5e15be7ae9203ead47f4f500a6a81.zip
cpython-7d896ab1bbd5e15be7ae9203ead47f4f500a6a81.tar.gz
cpython-7d896ab1bbd5e15be7ae9203ead47f4f500a6a81.tar.bz2
Added gethostbyname_ex(), which returns the same kind of data as
gethostbyaddr(). (Plain gethostbyname() returns only the IP address.) This moves the code shared by gethostbyaddr() and gethostbyname_ex() to a subroutine. Original patch by Dan Stromberg; some tweaks by GvR.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions