diff options
author | deraadt <> | 1999-07-03 20:26:55 +0000 |
---|---|---|
committer | deraadt <> | 1999-07-03 20:26:55 +0000 |
commit | fa1ff4d7c9e3e11ade89bbcf0fdb6d4a24cc8eae (patch) | |
tree | 0e20e61bfdadc60456daf40355efcd3f27316282 /src/lib/libc/net/getaddrinfo.3 | |
parent | c078dc2c32bc3dbb78efe49ded77e3dbf16e00c6 (diff) | |
download | openbsd-fa1ff4d7c9e3e11ade89bbcf0fdb6d4a24cc8eae.tar.gz openbsd-fa1ff4d7c9e3e11ade89bbcf0fdb6d4a24cc8eae.tar.bz2 openbsd-fa1ff4d7c9e3e11ade89bbcf0fdb6d4a24cc8eae.zip |
cleaner
Diffstat (limited to 'src/lib/libc/net/getaddrinfo.3')
-rw-r--r-- | src/lib/libc/net/getaddrinfo.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3 index cff60d9d4e..5d644ba549 100644 --- a/src/lib/libc/net/getaddrinfo.3 +++ b/src/lib/libc/net/getaddrinfo.3 | |||
@@ -30,7 +30,7 @@ | |||
30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
31 | .\" | 31 | .\" |
32 | .\" From: @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95 | 32 | .\" From: @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95 |
33 | .\" $Id: getaddrinfo.3,v 1.1 1999/07/03 20:22:21 deraadt Exp $ | 33 | .\" $Id: getaddrinfo.3,v 1.2 1999/07/03 20:26:55 deraadt Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd May 25, 1995 | 35 | .Dd May 25, 1995 |
36 | .Dt GETADDRINFO 3 | 36 | .Dt GETADDRINFO 3 |
@@ -54,11 +54,11 @@ | |||
54 | The | 54 | The |
55 | .Fn getaddrinfo | 55 | .Fn getaddrinfo |
56 | function is defined for protocol-independent nodename-to-address translation. | 56 | function is defined for protocol-independent nodename-to-address translation. |
57 | It performs functionality of | 57 | It performs the functionality of |
58 | .Xr gethostbyname 3 | 58 | .Xr gethostbyname 3 |
59 | and | 59 | and |
60 | .Xr getservbyname 3 , | 60 | .Xr getservbyname 3 , |
61 | in more sophisticated manner. | 61 | but in a more sophisticated manner. |
62 | .Pp | 62 | .Pp |
63 | The addrinfo structure is defined as a result of including the | 63 | The addrinfo structure is defined as a result of including the |
64 | .Li <netdb.h> | 64 | .Li <netdb.h> |
@@ -256,7 +256,7 @@ Otherwise an error of | |||
256 | .Dv EAI_NONAME | 256 | .Dv EAI_NONAME |
257 | is returned. | 257 | is returned. |
258 | This flag prevents any type of name resolution service (e.g., the DNS) | 258 | This flag prevents any type of name resolution service (e.g., the DNS) |
259 | from being called. | 259 | from being called. |
260 | .Pp | 260 | .Pp |
261 | All of the information returned by | 261 | All of the information returned by |
262 | .Fn getaddrinfo | 262 | .Fn getaddrinfo |
@@ -299,7 +299,7 @@ indicate an unknown error. | |||
299 | .It Pa /etc/resolv.conf | 299 | .It Pa /etc/resolv.conf |
300 | .El | 300 | .El |
301 | .Sh DIAGNOSTICS | 301 | .Sh DIAGNOSTICS |
302 | Error return status from | 302 | Error return status from |
303 | .Fn getaddrinfo | 303 | .Fn getaddrinfo |
304 | is zero on success and non-zero on errors. | 304 | is zero on success and non-zero on errors. |
305 | Non-zero error codes are defined in | 305 | Non-zero error codes are defined in |
@@ -307,7 +307,7 @@ Non-zero error codes are defined in | |||
307 | and as follows: | 307 | and as follows: |
308 | .Pp | 308 | .Pp |
309 | .Bl -tag -width EAI_ADDRFAMILY -compact | 309 | .Bl -tag -width EAI_ADDRFAMILY -compact |
310 | .It Dv EAI_ADDRFAMILY | 310 | .It Dv EAI_ADDRFAMILY |
311 | address family for nodename not supported | 311 | address family for nodename not supported |
312 | .It Dv EAI_AGAIN | 312 | .It Dv EAI_AGAIN |
313 | temporary failure in name resolution | 313 | temporary failure in name resolution |