diff options
author | itojun <> | 2001-01-05 13:43:02 +0000 |
---|---|---|
committer | itojun <> | 2001-01-05 13:43:02 +0000 |
commit | 15bbf14b6dec9d110311f371debc4d77939bbd83 (patch) | |
tree | 8bfcb4d4d9c24ba89569479f070e8099b1827fc4 | |
parent | 7578bdfc4fc8bb6e9c520d2eb7857855ec60adb5 (diff) | |
download | openbsd-15bbf14b6dec9d110311f371debc4d77939bbd83.tar.gz openbsd-15bbf14b6dec9d110311f371debc4d77939bbd83.tar.bz2 openbsd-15bbf14b6dec9d110311f371debc4d77939bbd83.zip |
do not refer getnodebyname. sync with kame.
-rw-r--r-- | src/lib/libc/net/getnameinfo.3 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3 index 78ffc6e396..755e7bd482 100644 --- a/src/lib/libc/net/getnameinfo.3 +++ b/src/lib/libc/net/getnameinfo.3 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" $OpenBSD: getnameinfo.3,v 1.10 2000/12/21 17:34:33 aaron Exp $ | 1 | .\" $OpenBSD: getnameinfo.3,v 1.11 2001/01/05 13:43:02 itojun Exp $ |
2 | .\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $ | 2 | .\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (c) 1983, 1987, 1991, 1993 | 4 | .\" Copyright (c) 1983, 1987, 1991, 1993 |
5 | .\" The Regents of the University of California. All rights reserved. | 5 | .\" The Regents of the University of California. All rights reserved. |
@@ -142,7 +142,7 @@ the numeric form of the host's address is returned instead of its name | |||
142 | e.g., by calling | 142 | e.g., by calling |
143 | .Fn inet_ntop | 143 | .Fn inet_ntop |
144 | instead of | 144 | instead of |
145 | .Fn getnodebyaddr | 145 | .Fn gethostbyaddr |
146 | .Pc . | 146 | .Pc . |
147 | If the | 147 | If the |
148 | .Fa flag | 148 | .Fa flag |
@@ -177,7 +177,7 @@ These | |||
177 | flags are defined in | 177 | flags are defined in |
178 | .Aq Pa netdb.h . | 178 | .Aq Pa netdb.h . |
179 | .\" | 179 | .\" |
180 | .Sh EXTENSION | 180 | .Ss Extension for scoped IPv6 address |
181 | The implementation allows experimental numeric IPv6 address notation with | 181 | The implementation allows experimental numeric IPv6 address notation with |
182 | scope identifier. | 182 | scope identifier. |
183 | IPv6 link-local address will appear as string like | 183 | IPv6 link-local address will appear as string like |
@@ -232,24 +232,24 @@ The function indicates successful completion by a zero return value; | |||
232 | a non-zero return value indicates failure. | 232 | a non-zero return value indicates failure. |
233 | Error codes are as below: | 233 | Error codes are as below: |
234 | .Bl -tag -width Er | 234 | .Bl -tag -width Er |
235 | .It Bq Er EAI_AGAIN | 235 | .It Dv EAI_AGAIN |
236 | The name could not be resolved at this time. | 236 | The name could not be resolved at this time. |
237 | Future attempts may succeed. | 237 | Future attempts may succeed. |
238 | .It Bq Er EAI_BADFLAGS | 238 | .It Dv EAI_BADFLAGS |
239 | The flags had an invalid value. | 239 | The flags had an invalid value. |
240 | .It Bq Er EAI_FAIL | 240 | .It Dv EAI_FAIL |
241 | A non-recoverable error occurred. | 241 | A non-recoverable error occurred. |
242 | .It Bq Er EAI_FAMILY | 242 | .It Dv EAI_FAMILY |
243 | The address family was not recognized or the address length was invalid | 243 | The address family was not recognized or the address length was invalid |
244 | for the specified family. | 244 | for the specified family. |
245 | .It Bq Er EAI_MEMORY | 245 | .It Dv EAI_MEMORY |
246 | There was a memory allocation failure. | 246 | There was a memory allocation failure. |
247 | .It Bq Er EAI_NONAME | 247 | .It Dv EAI_NONAME |
248 | The name does not resolve for the supplied parameters. | 248 | The name does not resolve for the supplied parameters. |
249 | .Dv NI_NAMEREQD | 249 | .Dv NI_NAMEREQD |
250 | is set and the host's name cannot be located, | 250 | is set and the host's name cannot be located, |
251 | or both nodename and servname were null. | 251 | or both nodename and servname were null. |
252 | .It Bq Er EAI_SYSTEM | 252 | .It Dv EAI_SYSTEM |
253 | A system error occurred. | 253 | A system error occurred. |
254 | The error code can be found in errno. | 254 | The error code can be found in errno. |
255 | .El | 255 | .El |