diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/net/resolver.3 | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3 index 7c60ea4dcb..27d393193d 100644 --- a/src/lib/libc/net/resolver.3 +++ b/src/lib/libc/net/resolver.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: resolver.3,v 1.11 1999/05/25 13:06:45 aaron Exp $ | 1 | .\" $OpenBSD: resolver.3,v 1.12 1999/07/05 04:41:00 aaron Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1985, 1991, 1993 | 3 | .\" Copyright (c) 1985, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -101,20 +101,21 @@ | |||
| 101 | .Fa "int length" | 101 | .Fa "int length" |
| 102 | .Fc | 102 | .Fc |
| 103 | .Sh DESCRIPTION | 103 | .Sh DESCRIPTION |
| 104 | These routines are used for making, sending and interpreting | 104 | These routines are used for making, sending, and interpreting |
| 105 | query and reply messages with Internet domain name servers. | 105 | query and reply messages with Internet domain name servers. |
| 106 | .Pp | 106 | .Pp |
| 107 | Global configuration and state information that is used by the | 107 | Global configuration and state information that is used by the |
| 108 | resolver routines is kept in the structure | 108 | resolver routines is kept in the structure |
| 109 | .Em _res . | 109 | .Li _res . |
| 110 | Most of the values have reasonable defaults and can be ignored. | 110 | Most of the values have reasonable defaults and can be ignored. |
| 111 | Options | 111 | Options |
| 112 | stored in | 112 | stored in |
| 113 | .Em _res.options | 113 | .Li _res.options |
| 114 | are defined in | 114 | are defined in |
| 115 | .Pa resolv.h | 115 | .Aq Pa resolv.h |
| 116 | and are as follows. | 116 | and are as follows. |
| 117 | Options are stored as a simple bit mask containing the bitwise ``or'' | 117 | Options are stored as a simple bit mask containing the bitwise |
| 118 | .Tn OR | ||
| 118 | of the options enabled. | 119 | of the options enabled. |
| 119 | .Bl -tag -width RES_USE_INET6 | 120 | .Bl -tag -width RES_USE_INET6 |
| 120 | .It Dv RES_INIT | 121 | .It Dv RES_INIT |
| @@ -326,7 +327,7 @@ The size of compressed name is returned or \-1 if there was an error. | |||
| 326 | .Sh FILES | 327 | .Sh FILES |
| 327 | .Bl -tag -width Pa | 328 | .Bl -tag -width Pa |
| 328 | /etc/resolv.conf | 329 | /etc/resolv.conf |
| 329 | The configuration file | 330 | configuration file |
| 330 | see | 331 | see |
| 331 | .Xr resolv.conf 5 . | 332 | .Xr resolv.conf 5 . |
| 332 | .El | 333 | .El |
| @@ -348,5 +349,5 @@ see | |||
| 348 | .Sh HISTORY | 349 | .Sh HISTORY |
| 349 | The | 350 | The |
| 350 | .Nm | 351 | .Nm |
| 351 | function appeared in | 352 | function appeared in |
| 352 | .Bx 4.3 . | 353 | .Bx 4.3 . |
