summaryrefslogtreecommitdiff
path: root/lib/libc/net/gethostnamadr.c
AgeCommit message (Collapse)Author
1996-08-05truncate h_name and h_aliases[] to MAXHOSTNAMELENTheo de Raadt
1996-04-24yp_prot.h lies -> use yp.h (from yp.x) instead, change lots of structureTheo de Raadt
accesses to match. change xdr_domainname() and some other functions to take "char **" instead of "char *", as rpcgen intended -- helps programs linking against rpcgen output of yp.x. yp_all() should not free it's return value. split xdryp.c and yplib.c into ~20 files so binaries like "csh" need not link in functions like yp_maplist(). NIS+'s YP emulation code lacks YPPROC_ORDER... attempt to deal nicely.
1996-03-25Pull in prototypesThorsten Lockert
Do the right thing in presense of __STDC__
1996-02-19netbsd: bind 4.9.3dm
1995-11-20gethostbyname("#.#.#.#") should fail; not return an incompletely andTheo de Raadt
incorrectly initialized hostent. in particular, h_name is supposed to be `an official name', and gethostbyname() wasn't even trying to meet that requirement.
1995-10-18initial import of NetBSD treeTheo de Raadt