summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/resolver.3
diff options
context:
space:
mode:
authoraaron <>1999-07-05 04:41:00 +0000
committeraaron <>1999-07-05 04:41:00 +0000
commitc47037b066169c61c5eefad3368f2da73ca4be54 (patch)
treefa80157fecd0fbb57811f82d8f3ce1366b44a203 /src/lib/libc/net/resolver.3
parent5f78a44df1a8e524a82445f2fedb382128869a2a (diff)
downloadopenbsd-c47037b066169c61c5eefad3368f2da73ca4be54.tar.gz
openbsd-c47037b066169c61c5eefad3368f2da73ca4be54.tar.bz2
openbsd-c47037b066169c61c5eefad3368f2da73ca4be54.zip
repairs; better English, formatting, etc.
Diffstat (limited to 'src/lib/libc/net/resolver.3')
-rw-r--r--src/lib/libc/net/resolver.317
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
104These routines are used for making, sending and interpreting 104These routines are used for making, sending, and interpreting
105query and reply messages with Internet domain name servers. 105query and reply messages with Internet domain name servers.
106.Pp 106.Pp
107Global configuration and state information that is used by the 107Global configuration and state information that is used by the
108resolver routines is kept in the structure 108resolver routines is kept in the structure
109.Em _res . 109.Li _res .
110Most of the values have reasonable defaults and can be ignored. 110Most of the values have reasonable defaults and can be ignored.
111Options 111Options
112stored in 112stored in
113.Em _res.options 113.Li _res.options
114are defined in 114are defined in
115.Pa resolv.h 115.Aq Pa resolv.h
116and are as follows. 116and are as follows.
117Options are stored as a simple bit mask containing the bitwise ``or'' 117Options are stored as a simple bit mask containing the bitwise
118.Tn OR
118of the options enabled. 119of 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
329The configuration file 330configuration file
330see 331see
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
349The 350The
350.Nm 351.Nm
351function appeared in 352function appeared in
352.Bx 4.3 . 353.Bx 4.3 .