gethostbyname.3 (2efeeba554cbd7bdee9cfe17641c8bd335c7972f) gethostbyname.3 (d64982518242686ea2827535231707ad7fc7c0ac)
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.

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

373address format is currently understood.
374.Pp
375The
376.Fn gethostbyname2
377function
378cannot perform
379.Dv AF_INET6
380lookups over NIS.
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.

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

373address format is currently understood.
374.Pp
375The
376.Fn gethostbyname2
377function
378cannot perform
379.Dv AF_INET6
380lookups over NIS.
381The
381.Xr getaddrinfo 3
382.Xr getaddrinfo 3
382must be used instead.
383function must be used instead.