gethostbyname.3 (dc68997328ec6cec41ad3b818c1846c8217e0c68) | gethostbyname.3 (942e234d868ddc64a11b6af0ee78d47ccb44de1f) |
---|---|
1.\" Copyright (c) 1983, 1987, 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. --- 109 unchanged lines hidden (view full) --- 118The 119.Fa af 120argument specifies the address family 121(e.g.\& 122.Dv AF_INET , AF_INET6 , 123etc.) of this address. 124.Pp 125The structure returned contains either the information obtained from the name | 1.\" Copyright (c) 1983, 1987, 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. --- 109 unchanged lines hidden (view full) --- 118The 119.Fa af 120argument specifies the address family 121(e.g.\& 122.Dv AF_INET , AF_INET6 , 123etc.) of this address. 124.Pp 125The structure returned contains either the information obtained from the name |
126server, 127.Xr named 8 , 128broken-out fields from a line in | 126server, broken-out fields from a line in |
129.Pa /etc/hosts , 130or database entries supplied by the 131.Xr yp 8 132system. 133The order of the lookups is controlled by the 134.Sq hosts 135entry in 136.Xr nsswitch.conf 5 . --- 188 unchanged lines hidden (view full) --- 325for example, a mail-forwarder may be registered for this domain. 326.El 327.Sh SEE ALSO 328.Xr getaddrinfo 3 , 329.Xr getnameinfo 3 , 330.Xr inet_aton 3 , 331.Xr resolver 3 , 332.Xr hosts 5 , | 127.Pa /etc/hosts , 128or database entries supplied by the 129.Xr yp 8 130system. 131The order of the lookups is controlled by the 132.Sq hosts 133entry in 134.Xr nsswitch.conf 5 . --- 188 unchanged lines hidden (view full) --- 323for example, a mail-forwarder may be registered for this domain. 324.El 325.Sh SEE ALSO 326.Xr getaddrinfo 3 , 327.Xr getnameinfo 3 , 328.Xr inet_aton 3 , 329.Xr resolver 3 , 330.Xr hosts 5 , |
333.Xr hostname 7 , 334.Xr named 8 | 331.Xr hostname 7 |
335.Sh HISTORY 336The 337.Fn herror 338function appeared in 339.Bx 4.3 . 340The 341.Fn endhostent , 342.Fn gethostbyaddr , --- 63 unchanged lines hidden --- | 332.Sh HISTORY 333The 334.Fn herror 335function appeared in 336.Bx 4.3 . 337The 338.Fn endhostent , 339.Fn gethostbyaddr , --- 63 unchanged lines hidden --- |