Deleted Added
full compact
resolver.3 (126243) resolver.3 (131365)
1.\" Copyright (c) 1985, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)resolver.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1985, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)resolver.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/net/resolver.3 126243 2004-02-25 21:03:46Z green $
33.\" $FreeBSD: head/lib/libc/net/resolver.3 131365 2004-06-30 20:09:10Z ru $
34.\"
35.Dd June 4, 1993
36.Dt RESOLVER 3
37.Os
38.Sh NAME
39.Nm res_query ,
40.Nm res_search ,
41.Nm res_mkquery ,

--- 352 unchanged lines hidden (view full) ---

394.Fn ns_put32
395function puts a 32-bit quantity
396.Fa src
397to a buffer pointed to by
398.Fa dst .
399.Sh RETURN VALUES
400The
401.Fn res_init
34.\"
35.Dd June 4, 1993
36.Dt RESOLVER 3
37.Os
38.Sh NAME
39.Nm res_query ,
40.Nm res_search ,
41.Nm res_mkquery ,

--- 352 unchanged lines hidden (view full) ---

394.Fn ns_put32
395function puts a 32-bit quantity
396.Fa src
397to a buffer pointed to by
398.Fa dst .
399.Sh RETURN VALUES
400The
401.Fn res_init
402function will return 0 on success, or -1 in a threaded program if
402function will return 0 on success, or \-1 in a threaded program if
403per-thread storage could not be allocated.
404.Sh IMPLEMENTATION NOTES
405This implementation of the resolver is thread-safe, but it will not
406function properly if the programmer attempts to declare his or her own
407.Va _res
408structure in an attempt to replace the per-thread version referred to
409by that macro.
410.Sh FILES

--- 25 unchanged lines hidden ---
403per-thread storage could not be allocated.
404.Sh IMPLEMENTATION NOTES
405This implementation of the resolver is thread-safe, but it will not
406function properly if the programmer attempts to declare his or her own
407.Va _res
408structure in an attempt to replace the per-thread version referred to
409by that macro.
410.Sh FILES

--- 25 unchanged lines hidden ---