Home | History | Annotate | Download | only in net
History log of /src/lib/libc/net/gethostbyname.3
RevisionDateAuthorComments
 1.30  04-Dec-2022  uwe Sections 2 and 3 have RETURN VALUES, not DIAGNOSTICS
 1.29  19-Aug-2013  christos fix gethostbyaddr prototype per TOG.
 1.28  07-Oct-2006  apb branches: 1.28.42; 1.28.48;
Clarify that gethostbyname and gethostbyname2 can deal with
string representations of numeric addresses. PR 28667
 1.27  17-Aug-2004  wiz Add commas in enumerations; drop trailing whitespace; bump date for previous.
 1.26  17-Aug-2004  ginsbach Restore gethostent() as a supported interface. Yes, it maybe obsolete
but it is specified by IEEE Std 1003.1, 2004 Edition (POSIX) and
the X/Open standards (Issue 6 and XNS 5.2).

* revert change removing gethostent() from gethostbyname(3) man page
* delete kruft from gethnamaddr.c leaving only gethostent() as a
wrapper around _gethtent().
* revert recent changes to <netdb.h>
+ restore gethostent() prototype
+ restore freehostent() prototype; handle similar to non-shipped
getipnodby*() prototypes
+ use correct XOPEN_SOURCE version (520 not 500) for freeaddrinfo()
prototype; interface specified by XNS5.2 not XNS5

Reviewd by <christos> and <drochner>.
 1.25  25-Jun-2004  wiz Sort sections.
 1.24  07-Aug-2003  agc branches: 1.24.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.23  16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.22  02-Oct-2002  wiz function with n.
 1.21  07-Feb-2002  ross Generate <>& symbolically.
 1.20  16-Sep-2001  wiz Sort sections, sort SEE ALSO, and misc. fixes.
 1.19  26-Apr-2001  kleink Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in
accordance with XNS5.2; fixes PR standards/12703.
 1.18  28-Feb-2001  itojun branches: 1.18.2;
it seems that gethostent(3) is no longer supplied in libc.
couple of wording corrections.
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
 1.17  24-Apr-2000  itojun add missing period.
 1.16  01-Jul-1999  itojun document gethostbyname2().
 1.15  22-Mar-1999  garbled Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.14  18-Jan-1999  lukem highlight nsswitch.conf(5) in the first paragraph
 1.13  16-Jan-1999  lukem reference nsswitch.conf(5)
 1.12  28-Apr-1998  fair fix mdoc references
 1.11  05-Feb-1998  perry add LIBRARY section to man page
 1.10  02-Feb-1998  mrg merge in lite2 rcsids and a couple of man page fixes we had not yet found.
 1.9  08-Mar-1997  mouse branches: 1.9.2;
alternate -> alternative, per PR 2643
 1.8  09-Nov-1996  lukem add 'const' qualifiers to various routines (as per the include prototypes
and the implementation)
 1.7  30-Mar-1996  jtc Added explicit return types to all functions in SYNOPSIS section.
Added documentation to hstrerror() function.
Added hstrerror MLINK.
 1.6  25-Feb-1995  cgd clean up import. also convert everything to new Id format.
 1.5  07-Apr-1994  deraadt new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
of features and optimizations by myself.
 1.4  12-Mar-1994  davidb h_errno is an int, not a "struct".
 1.3  11-Jan-1994  jtc Fix spelling errors.
 1.2  01-Aug-1993  mycroft Add RCS indentifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  02-Feb-1998  mrg import lite-2 libc/net sources.
 1.1.1.2  25-Feb-1995  cgd 4.4-Lite lib/libc/net
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.2.2  08-Mar-1997  mouse alternate -> alternative, per PR 2643
 1.9.2.1  08-Mar-1997  mouse file gethostbyname.3 was added on branch is-newarp on 1997-03-08 13:39:01 +0000
 1.18.2.4  18-Oct-2002  nathanw Catch up to -current.
 1.18.2.3  22-Mar-2002  nathanw Catch up to -current.
 1.18.2.2  08-Mar-2002  nathanw Catch up to -current.
 1.18.2.1  08-Oct-2001  nathanw Catch up to -current.
 1.24.2.1  11-Sep-2004  he Pull up revisions 1.25-1.26 (requested by ginsbach in ticket #834):
Restore gethostent() as a supported interface. Yes, it
may be obsolete, but it is specified by IEEE Std 1003.1,
2004 Edition (POSIX) and the X/Open standards (Issue 66
and XNS 5.2).
 1.28.48.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.42.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed