resolver.3 (743d5d518c25e41a3e9026d400fa625efc306c82) resolver.3 (33dee819339974eaf7dbf69068001771cbdcd548)
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.

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

391.Fa dst .
392.Pp
393The
394.Fn ns_put32
395function puts a 32-bit quantity
396.Fa src
397to a buffer pointed to by
398.Fa dst .
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.

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

391.Fa dst .
392.Pp
393The
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
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.
399.Sh FILES
400.Bl -tag -width /etc/resolv.conf
401.It Pa /etc/resolv.conf
402The configuration file,
403see
404.Xr resolver 5 .
405.El
406.Sh SEE ALSO

--- 18 unchanged lines hidden ---
410.Sh FILES
411.Bl -tag -width /etc/resolv.conf
412.It Pa /etc/resolv.conf
413The configuration file,
414see
415.Xr resolver 5 .
416.El
417.Sh SEE ALSO

--- 18 unchanged lines hidden ---