diff options
author | schwarze <> | 2016-08-05 16:16:06 +0000 |
---|---|---|
committer | schwarze <> | 2016-08-05 16:16:06 +0000 |
commit | 4a0a0b60cfc2ccc0ce8fca479c41f71301eaba89 (patch) | |
tree | a29e034efd5265ead8bbf580fb669e07ac2e687e /src/lib/libc/net/resolver.3 | |
parent | 4a64d399a9f9db6bcedfb4743744f3ca75484fd1 (diff) | |
download | openbsd-4a0a0b60cfc2ccc0ce8fca479c41f71301eaba89.tar.gz openbsd-4a0a0b60cfc2ccc0ce8fca479c41f71301eaba89.tar.bz2 openbsd-4a0a0b60cfc2ccc0ce8fca479c41f71301eaba89.zip |
Obvious minor fixes:
* Add missing .Dv, .Ev, and .Fa macros.
* Delete deprecated .Tn macros.
* Mark up global variable names with .Va, not with .Fa or .Li.
* Mark up config file commands with .Ic, not with .Fa.
* Fix HISTORY, trivial to verify from the CSRG archive CD.
Diffstat (limited to 'src/lib/libc/net/resolver.3')
-rw-r--r-- | src/lib/libc/net/resolver.3 | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3 index 74be255189..74604b9577 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.33 2015/12/16 18:12:42 jmc Exp $ | 1 | .\" $OpenBSD: resolver.3,v 1.34 2016/08/05 16:16:06 schwarze 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. |
@@ -27,7 +27,7 @@ | |||
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
29 | .\" | 29 | .\" |
30 | .Dd $Mdocdate: December 16 2015 $ | 30 | .Dd $Mdocdate: August 5 2016 $ |
31 | .Dt RES_INIT 3 | 31 | .Dt RES_INIT 3 |
32 | .Os | 32 | .Os |
33 | .Sh NAME | 33 | .Sh NAME |
@@ -103,10 +103,10 @@ query and reply messages with Internet domain name servers. | |||
103 | .Pp | 103 | .Pp |
104 | Global configuration and state information that is used by the | 104 | Global configuration and state information that is used by the |
105 | resolver routines is kept in the structure | 105 | resolver routines is kept in the structure |
106 | .Li _res . | 106 | .Va _res . |
107 | Most of the values have reasonable defaults and can be ignored. | 107 | Most of the values have reasonable defaults and can be ignored. |
108 | Options stored in | 108 | Options stored in |
109 | .Li _res.options | 109 | .Va _res.options |
110 | are defined in | 110 | are defined in |
111 | .In resolv.h | 111 | .In resolv.h |
112 | and are as follows. | 112 | and are as follows. |
@@ -207,19 +207,17 @@ if not specified in the configuration file; | |||
207 | it can be overridden by the environment variable | 207 | it can be overridden by the environment variable |
208 | .Ev LOCALDOMAIN . | 208 | .Ev LOCALDOMAIN . |
209 | This environment variable may contain several blank-separated | 209 | This environment variable may contain several blank-separated |
210 | tokens if you wish to override the | 210 | tokens if you wish to override the search list on a per-process basis. |
211 | .Fa search list | ||
212 | on a per-process basis. | ||
213 | This is similar to the | 211 | This is similar to the |
214 | .Fa search | 212 | .Ic search |
215 | command in the configuration file. | 213 | command in the configuration file. |
216 | Another environment variable | 214 | Another environment variable |
217 | .Ev RES_OPTIONS | 215 | .Ev RES_OPTIONS |
218 | can be set to override certain internal resolver options which | 216 | can be set to override certain internal resolver options which |
219 | are otherwise set by changing fields in the | 217 | are otherwise set by changing fields in the |
220 | .Fa _res | 218 | .Va _res |
221 | structure or are inherited from the configuration file's | 219 | structure or are inherited from the configuration file's |
222 | .Fa options | 220 | .Ic options |
223 | command. | 221 | command. |
224 | The syntax of the | 222 | The syntax of the |
225 | .Ev RES_OPTIONS | 223 | .Ev RES_OPTIONS |
@@ -385,7 +383,18 @@ The configuration file. | |||
385 | .%T Simple Mail Transfer Protocol | 383 | .%T Simple Mail Transfer Protocol |
386 | .Re | 384 | .Re |
387 | .Sh HISTORY | 385 | .Sh HISTORY |
388 | The | 386 | The functions |
389 | .Nm | 387 | .Fn res_mkquery , |
390 | function appeared in | 388 | .Fn res_send , |
389 | .Fn res_init , | ||
390 | .Fn dn_comp , | ||
391 | and | ||
392 | .Fn dn_expand | ||
393 | appeared in | ||
391 | .Bx 4.3 . | 394 | .Bx 4.3 . |
395 | The functions | ||
396 | .Fn res_query | ||
397 | and | ||
398 | .Fn res_search | ||
399 | appeared in | ||
400 | .Bx 4.3 Tahoe . | ||