Commit Graph

46 Commits

Author SHA1 Message Date
wiz ee39be7187 Add missing article. 2006-12-23 07:42:30 +00:00
reed f8ee2d04c1 Document AI_NUMERICSERV.
(When manpage was rewritten some docs were lost.)
2006-11-24 16:56:18 +00:00
christos 6b7bf056a3 Remove comments that do not reflect reality anymore. 2006-07-18 14:00:40 +00:00
kleink 172675479e Only name <netdb.h> in the synopsis, like the old manual page used to. 2005-03-21 13:35:04 +00:00
kleink 53b42c4e52 Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments. 2005-03-21 13:30:50 +00:00
wiz b2d185782d Use In instead of Fd; use \*[Am]\*[Lt]\*[Gt] for html output. Uppercase FREENIX. 2005-01-28 11:04:52 +00:00
itojun cc1dea55c3 title was backwards. djm@openbsd 2005-01-28 01:36:17 +00:00
itojun 2537b08b16 replace with written-from-scratch manpage. (fixes ISOC copyright issue) 2005-01-11 06:01:41 +00:00
christos da6f1ded1d revert previous change while discussion is in progress. 2004-12-20 18:30:26 +00:00
itojun 2fdfeb359f RFC cannot be used as manpage regarding to the ISOC copyright boilerplate.
remove it until someone writes it up from scratch/freely-redistributable
text is found.
2004-12-20 03:50:04 +00:00
wiz 6677b3582e Add missing "-". 2004-04-14 13:40:30 +00:00
itojun 05e937a343 remove unneeded refs to rfc2553. jmc 2004-04-14 08:07:29 +00:00
itojun 8803684aa2 document AI_NUMERICSERV 2004-04-14 04:42:35 +00:00
itojun ca0ee478c7 use "%s" for err(), do not pass pointer directly. Pedro Martelletto 2004-03-01 23:06:21 +00:00
wiz 47190e80b8 Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
itojun dc5aee069b english grammer. by Jason McIntyre via kame 2003-04-30 06:30:48 +00:00
wiz 472351e13d 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.
2003-04-16 13:34:34 +00:00
itojun 9ed8a29685 refer nsswitch.conf(5). From: Jim Bernard <jbernard@mines.edu> 2002-06-15 21:49:18 +00:00
kleink dddf6754e0 ai_addrlen: size_t -> socklen_t. 2002-05-14 13:50:21 +00:00
kleink 4396915999 Rip out <sys/types.h> and <sys/socket.h> inclusions: there are no
pre-requisites for <netdb.h>.
2002-05-10 22:26:59 +00:00
kleink c88f6e9e24 In the examples, initialize struct addrinfo explicitly to either 0 or a
NULL pointer; from der Mouse in PR lib/16634.
2002-05-10 22:11:24 +00:00
ross 9856438e91 generate & symbolically 2002-02-07 09:24:04 +00:00
ross 814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz 97ff145f62 Sort sections, sort SEE ALSO, and misc. fixes. 2001-09-16 02:54:17 +00:00
wiz e7560d5642 Boring whitespace fixes. 2001-09-16 02:23:09 +00:00
itojun 908c009e33 there's no host.conf in netbsd. pointed out by smb 2001-08-05 18:09:03 +00:00
itojun a20390114e fix listener side example. from deraadt, sync with kame 2001-02-12 09:28:40 +00:00
itojun 34cabf50d6 - scope separater is percentage, not atmark.
- typo in example.  s/err1/errx/.
- some wording improvements.
sync with kame.
2001-01-26 13:30:38 +00:00
lukem 73842568e7 english fixup 2000-11-16 07:25:36 +00:00
itojun 14fcd6ed41 mention that current get{addr,name}info implementation are not thread-safe.
(sync with kame)
From: Greg Thompson
2000-08-09 22:52:49 +00:00
itojun 3f0f0ab67d typo. s/Fa getaddrinfo/Fn getaddrinfo/. sync with kame. 2000-07-25 04:51:27 +00:00
itojun f69808cddd move pitfall example to downwards. wording fixes. sync with kame. 2000-07-25 04:39:54 +00:00
itojun e3256888e3 give pitfall examples.
in response to couple of PRs including 10666.  sync with kame.
2000-07-25 02:33:29 +00:00
itojun f64eeac13d typo in RFC number. KAME PR 263 2000-06-30 16:48:47 +00:00
itojun d18bfb3eba add cmetz paper, correct example 2000-06-22 20:32:28 +00:00
itojun 5cf4e14fea $NetBSD$ 2000-05-11 03:08:46 +00:00
itojun e2a25fa8de update internet draft #. correct samples.
sync getnameinfo function prototype with /usr/include/netdb.h (not
standard conformant yet, needs update - will do soon)
2000-05-11 03:08:06 +00:00
itojun 503ce101c1 getaddrinfo(3) now obeys nsswitch.conf correctly. 2000-02-20 14:45:34 +00:00
itojun f126f47f70 in BUGS section, document that it can behave differently from nsswitch.conf(5)
suggests.
NetBSD PR: 9413
2000-02-14 13:06:57 +00:00
itojun 692c04487f cosmetic (last dot in SEE ALSO section) 2000-01-19 07:03:35 +00:00
itojun 88d175cdc4 sync with latest KAME tree.
add example section to get{addr,name}info.
s/\.Os KAME/.Os/.
2000-01-17 08:33:45 +00:00
itojun 0e776c76b4 need sys/types.h before sys/socket.h 2000-01-07 01:49:42 +00:00
itojun 1501f61891 bring in latest KAME get{addr,name}info(3).
getnameinfo(3) globs ai_socktype and ai_protocol correctly.
KAME scopeid extension is implemented.
(draft-ietf-ipngwg-scopedaddr-format-00.txt)

bump up shlib minor
(may not be necessary, but rather big difference in behavior - especially
ai_flags)
1999-12-13 14:18:31 +00:00
kleink 4531426e5f Add missing LIBRARY sections. 1999-07-03 13:58:31 +00:00
itojun 37e8159125 add IPv6 support functions.
get{addr,name} info are implemented to have as little impact to existing
resolver code as possible, so they are NOT the optimal implementation.
They are at this moment not very thread safe (as they call
gethostby{name,addr}).

(shlib minor version)++, as new interfaces are added.

TODO: getipnodeby{name,addr} - which needs total reimplementation of
gethostby{name,addr}.
upgrade rcmd.c for multiple af support (needed for IPv6-ready rsh/rlogin)
1999-07-01 18:23:53 +00:00