| 1 |
# Russian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Azamat Hackimov <[email protected]>, 2013-2014, 2017. |
| 5 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 6 |
# Vladislav <[email protected]>, 2015. |
| 7 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 8 |
# Иван Павлов <[email protected]>, 2017, 2019. |
| 9 |
msgid "" |
| 10 |
msgstr "" |
| 11 |
"Project-Id-Version: manpages-l10n\n" |
| 12 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 13 |
"PO-Revision-Date: 2024-12-21 19:50+0300\n" |
| 14 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 15 |
"Language-Team: Russian <[email protected]>\n" |
| 16 |
"Language: ru\n" |
| 17 |
"MIME-Version: 1.0\n" |
| 18 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 19 |
"Content-Transfer-Encoding: 8bit\n" |
| 20 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 21 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 22 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 23 |
"X-Generator: Lokalize 2.0\n" |
| 24 |
|
| 25 |
#. type: TH |
| 26 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 27 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 28 |
#, fuzzy, no-wrap |
| 29 |
#| msgid "B<gethostbyname>()" |
| 30 |
msgid "gethostbyname" |
| 31 |
msgstr "B<gethostbyname>()" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 35 |
#: opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "2026-02-08" |
| 38 |
msgstr "8 февраля 2026 г." |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable |
| 42 |
#, fuzzy, no-wrap |
| 43 |
#| msgid "Linux man-pages 6.17" |
| 44 |
msgid "Linux man-pages 6.18" |
| 45 |
msgstr "Справочные страницы Linux 6.17" |
| 46 |
|
| 47 |
#. type: SH |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
#, no-wrap |
| 51 |
msgid "NAME" |
| 52 |
msgstr "НАИМЕНОВАНИЕ" |
| 53 |
|
| 54 |
#. type: Plain text |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
msgid "" |
| 58 |
"gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, " |
| 59 |
"herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, " |
| 60 |
"gethostbyname_r, gethostent_r - get network host entry" |
| 61 |
msgstr "" |
| 62 |
"gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, " |
| 63 |
"herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, " |
| 64 |
"gethostbyname_r, gethostent_r - получение записи о сетевом узле" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "LIBRARY" |
| 71 |
msgstr "БИБЛИОТЕКА" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 75 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 77 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "SYNOPSIS" |
| 84 |
msgstr "СИНТАКСИС" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "B<#include E<lt>netdb.hE<gt>>\n" |
| 91 |
msgstr "B<#include E<lt>netdb.hE<gt>>\n" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
#, fuzzy, no-wrap |
| 97 |
#| msgid "B<void sethostent(int >I<stayopen>B<);>\n" |
| 98 |
msgid "" |
| 99 |
"B<void sethostent(int >I<stayopen>B<);>\n" |
| 100 |
"B<void endhostent(void);>\n" |
| 101 |
msgstr "B<void sethostent(int >I<stayopen>B<);>\n" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 105 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 106 |
#, fuzzy, no-wrap |
| 107 |
#| msgid "" |
| 108 |
#| "B<#include E<lt>netdb.hE<gt>>\n" |
| 109 |
#| "B<extern int h_errno;>\n" |
| 110 |
msgid "B<[[deprecated]] extern int h_errno;>\n" |
| 111 |
msgstr "" |
| 112 |
"B<#include E<lt>netdb.hE<gt>>\n" |
| 113 |
"B<extern int h_errno;>\n" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 117 |
#: opensuse-tumbleweed |
| 118 |
#, fuzzy, no-wrap |
| 119 |
#| msgid "" |
| 120 |
#| "B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 121 |
#| "B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 122 |
#| "B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 123 |
msgid "" |
| 124 |
"B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n" |
| 125 |
"B<[[deprecated]] struct hostent *gethostbyaddr(>socklen_t size;\n" |
| 126 |
"B< const void >I<addr>B<[>I<size>B<],>\n" |
| 127 |
"B< socklen_t >I<size>B<, int >I<type>B<);>\n" |
| 128 |
msgstr "" |
| 129 |
"B<#include E<lt>sys/socket.hE<gt>> /* для AF_INET */\n" |
| 130 |
"B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 131 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
#, no-wrap |
| 137 |
msgid "" |
| 138 |
"B<[[deprecated]] void herror(const char *>I<s>B<);>\n" |
| 139 |
"B<[[deprecated]] const char *hstrerror(int >I<err>B<);>\n" |
| 140 |
msgstr "" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
#, no-wrap |
| 146 |
msgid "" |
| 147 |
"/* System V/POSIX extension */\n" |
| 148 |
"B<struct hostent *gethostent(void);>\n" |
| 149 |
msgstr "" |
| 150 |
"/* расширение System V/POSIX */\n" |
| 151 |
"B<struct hostent *gethostent(void);>\n" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
#, fuzzy, no-wrap |
| 157 |
#| msgid "" |
| 158 |
#| "/* GNU extensions */\n" |
| 159 |
#| "B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n" |
| 160 |
msgid "" |
| 161 |
"/* GNU extensions */\n" |
| 162 |
"B<[[deprecated]]>\n" |
| 163 |
"B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n" |
| 164 |
msgstr "" |
| 165 |
"/* расширения GNU */\n" |
| 166 |
"B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 170 |
#: opensuse-tumbleweed |
| 171 |
#, fuzzy, no-wrap |
| 172 |
#| msgid "" |
| 173 |
#| "B<int gethostent_r(>\n" |
| 174 |
#| "B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 175 |
#| "B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 176 |
msgid "" |
| 177 |
"B<int gethostent_r(>size_t bufsize;\n" |
| 178 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 179 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 180 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 181 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 182 |
msgstr "" |
| 183 |
"B<int gethostent_r(>\n" |
| 184 |
"B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 185 |
"B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 189 |
#: opensuse-tumbleweed |
| 190 |
#, no-wrap |
| 191 |
msgid "" |
| 192 |
"B<[[deprecated]]>\n" |
| 193 |
"B<int gethostbyaddr_r(>socklen_t size, size_t bufsize;\n" |
| 194 |
"B< const void >I<addr>B<[restrict >I<size>B<], socklen_t >I<size>B<,>\n" |
| 195 |
"B< int >I<type>B<,>\n" |
| 196 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 197 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 198 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 199 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 200 |
"B<[[deprecated]]>\n" |
| 201 |
"B<int gethostbyname_r(>size_t bufsize;\n" |
| 202 |
"B< const char *restrict >I<name>B<,>\n" |
| 203 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 204 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 205 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 206 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 207 |
"B<[[deprecated]]>\n" |
| 208 |
"B<int gethostbyname2_r(>size_t bufsize;\n" |
| 209 |
"B< const char *restrict >I<name>B<, int >I<af,>\n" |
| 210 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 211 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 212 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 213 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 221 |
msgstr "" |
| 222 |
"Требования макроса тестирования свойств для glibc (см. " |
| 223 |
"B<feature_test_macros>(7)):" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
msgid "" |
| 229 |
"B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 230 |
"B<gethostbyname_r>(), B<gethostbyname2_r>():" |
| 231 |
msgstr "" |
| 232 |
"B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 233 |
"B<gethostbyname_r>(), B<gethostbyname2_r>():" |
| 234 |
|
| 235 |
#. type: Plain text |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
#, fuzzy, no-wrap |
| 239 |
#| msgid "" |
| 240 |
#| " Since glibc 2.19:\n" |
| 241 |
#| " _DEFAULT_SOURCE\n" |
| 242 |
#| " In glibc up to and including 2.19:\n" |
| 243 |
#| " _BSD_SOURCE\n" |
| 244 |
msgid "" |
| 245 |
" Since glibc 2.19:\n" |
| 246 |
" _DEFAULT_SOURCE\n" |
| 247 |
" glibc up to and including 2.19:\n" |
| 248 |
" _BSD_SOURCE || _SVID_SOURCE\n" |
| 249 |
msgstr "" |
| 250 |
" начиная с glibc 2.19:\n" |
| 251 |
" _DEFAULT_SOURCE\n" |
| 252 |
" в glibc до версии 2.19 включительно:\n" |
| 253 |
" _BSD_SOURCE\n" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
msgid "B<herror>(), B<hstrerror>():" |
| 259 |
msgstr "B<herror>(), B<hstrerror>():" |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
#, fuzzy, no-wrap |
| 265 |
#| msgid "" |
| 266 |
#| "B<getpwent_r>(),\n" |
| 267 |
#| " Since glibc 2.19:\n" |
| 268 |
#| " _DEFAULT_SOURCE\n" |
| 269 |
#| " Glibc 2.19 and earlier:\n" |
| 270 |
#| " _BSD_SOURCE || _SVID_SOURCE\n" |
| 271 |
msgid "" |
| 272 |
" Since glibc 2.19:\n" |
| 273 |
" _DEFAULT_SOURCE\n" |
| 274 |
" glibc 2.8 to glibc 2.19:\n" |
| 275 |
" _BSD_SOURCE || _SVID_SOURCE\n" |
| 276 |
" Before glibc 2.8:\n" |
| 277 |
" none\n" |
| 278 |
msgstr "" |
| 279 |
"B<getpwent_r>(),\n" |
| 280 |
" начиная с glibc 2.19:\n" |
| 281 |
" _DEFAULT_SOURCE\n" |
| 282 |
" в glibc 2.19 и старее:\n" |
| 283 |
" _BSD_SOURCE || _SVID_SOURCE\n" |
| 284 |
|
| 285 |
#. type: Plain text |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
msgid "B<h_errno>:" |
| 289 |
msgstr "B<h_errno>:" |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
#, fuzzy, no-wrap |
| 295 |
#| msgid "" |
| 296 |
#| " Since glibc 2.21:\n" |
| 297 |
#| " _DEFAULT_SOURCE\n" |
| 298 |
#| " In glibc 2.19 and 2.20:\n" |
| 299 |
#| " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 300 |
#| " Up to and including glibc 2.19:\n" |
| 301 |
#| " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 302 |
msgid "" |
| 303 |
" Since glibc 2.19\n" |
| 304 |
" _DEFAULT_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n" |
| 305 |
" glibc 2.12 to glibc 2.19:\n" |
| 306 |
" _BSD_SOURCE || _SVID_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n" |
| 307 |
" Before glibc 2.12:\n" |
| 308 |
" none\n" |
| 309 |
msgstr "" |
| 310 |
" начиная с glibc 2.21:\n" |
| 311 |
" _DEFAULT_SOURCE\n" |
| 312 |
" в glibc 2.19 и 2.20:\n" |
| 313 |
" _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 314 |
" до glibc 2.19, включительно:\n" |
| 315 |
" _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 316 |
|
| 317 |
#. type: SH |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
#, no-wrap |
| 321 |
msgid "DESCRIPTION" |
| 322 |
msgstr "ОПИСАНИЕ" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
msgid "" |
| 328 |
"The B<gethostbyname*>(), B<gethostbyaddr*>(), B<herror>(), and " |
| 329 |
"B<hstrerror>() functions are obsolete. Applications should use " |
| 330 |
"B<getaddrinfo>(3), B<getnameinfo>(3), and B<gai_strerror>(3) instead." |
| 331 |
msgstr "" |
| 332 |
"Функции B<gethostbyname*>(), B<gethostbyaddr*>(), B<herror>() и " |
| 333 |
"B<hstrerror>() являются устаревшими. Вместо них в приложениях следует " |
| 334 |
"использовать B<getaddrinfo>(3), B<getnameinfo>(3) и B<gai_strerror>(3)." |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "" |
| 340 |
"The B<sethostent>() function specifies, if I<stayopen> is true (1), that a " |
| 341 |
"connected TCP socket should be used for the name server queries and that the " |
| 342 |
"connection should remain open during successive queries. Otherwise, name " |
| 343 |
"server queries will use UDP datagrams." |
| 344 |
msgstr "" |
| 345 |
"Функция B<sethostent>() задаёт (при I<stayopen> равным истине (1)), что для " |
| 346 |
"опроса сервера имён должен использоваться подключённый сокет TCP и что " |
| 347 |
"соединение должно остаться открытым для последующих запросов. В противном " |
| 348 |
"случае для опроса сервера имён будут использоваться дейтаграммы UDP." |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
msgid "" |
| 354 |
"The B<endhostent>() function ends the use of a TCP connection for name " |
| 355 |
"server queries." |
| 356 |
msgstr "" |
| 357 |
"Функция B<endhostent>() закрывает использованное для опросов сервера имён " |
| 358 |
"соединение TCP." |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
msgid "" |
| 364 |
"The B<gethostbyname>() function returns a structure of type I<hostent> for " |
| 365 |
"the given host I<name>. Here I<name> is either a hostname or an IPv4 " |
| 366 |
"address in standard dot notation (as for B<inet_addr>(3)). If I<name> is an " |
| 367 |
"IPv4 address, no lookup is performed and B<gethostbyname>() simply copies " |
| 368 |
"I<name> into the I<h_name> field and its I<struct in_addr> equivalent into " |
| 369 |
"the I<h_addr_list[0]> field of the returned I<hostent> structure. If " |
| 370 |
"I<name> doesn't end in a dot and the environment variable B<HOSTALIASES> is " |
| 371 |
"set, the alias file pointed to by B<HOSTALIASES> will first be searched for " |
| 372 |
"I<name> (see B<hostname>(7) for the file format). The current domain and " |
| 373 |
"its parents are searched unless I<name> ends in a dot." |
| 374 |
msgstr "" |
| 375 |
"Функция B<gethostbyname>() возвращает структуру типа I<hostent> для узла " |
| 376 |
"I<name>. Значением I<name> может быть или имя узла, или адрес IPv4 в " |
| 377 |
"стандартной точечной записи (как в B<inet_addr>(3)). Если I<name> — адрес " |
| 378 |
"IPv4, то поиск не выполняется и B<gethostbyname>() просто копирует I<name> в " |
| 379 |
"поле I<h_name>, а его эквивалент I<struct in_addr> — в поле " |
| 380 |
"I<h_addr_list[0]> возвращаемой структуры I<hostent> Если I<name> не " |
| 381 |
"оканчивается точкой и установлена переменная окружения B<HOSTALIASES>, то " |
| 382 |
"I<name> сначала ищется в файле псевдонимов, указанном в B<HOSTALIASES> " |
| 383 |
"(формат файла описан в B<hostname>(7)). Если I<name> не оканчивается точкой, " |
| 384 |
"то поиск производится с текущем доменом и его предками." |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 388 |
#: opensuse-tumbleweed |
| 389 |
#, fuzzy |
| 390 |
#| msgid "" |
| 391 |
#| "The B<gethostbyaddr>() function returns a structure of type I<hostent> " |
| 392 |
#| "for the given host address I<addr> of length I<len> and address type " |
| 393 |
#| "I<type>. Valid address types are B<AF_INET> and B<AF_INET6>. The host " |
| 394 |
#| "address argument is a pointer to a struct of a type depending on the " |
| 395 |
#| "address type, for example a I<struct in_addr *> (probably obtained via a " |
| 396 |
#| "call to B<inet_addr>(3)) for address type B<AF_INET>." |
| 397 |
msgid "" |
| 398 |
"The B<gethostbyaddr>() function returns a structure of type I<hostent> for " |
| 399 |
"the given host address I<addr> of size I<size> and address type I<type>. " |
| 400 |
"Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/" |
| 401 |
"socket.hE<gt>>). The host address argument is a pointer to a struct of a " |
| 402 |
"type depending on the address type, for example a I<struct\\ in_addr\\ *> " |
| 403 |
"(probably obtained via a call to B<inet_addr>(3)) for address type " |
| 404 |
"B<AF_INET>." |
| 405 |
msgstr "" |
| 406 |
"Функция B<gethostbyaddr>() возвращает структуру типа I<hostent> для адреса " |
| 407 |
"узла I<addr> длинной I<len> и типом адреса I<type>. Допустимые типы адресов " |
| 408 |
"— B<AF_INET> и B<AF_INET6>. Аргумент адреса узла — указатель на структуру с " |
| 409 |
"типом, зависящим от типа адреса, например для типа адреса B<AF_INET> " |
| 410 |
"используется I<struct in_addr *> (возможно, полученная из вызова " |
| 411 |
"B<inet_addr>(3))." |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
msgid "" |
| 417 |
"The (obsolete) B<herror>() function prints the error message associated " |
| 418 |
"with the current value of I<h_errno> on I<stderr>." |
| 419 |
msgstr "" |
| 420 |
"Функция B<herror>() (устарела) печатает в I<stderr> сообщение об ошибке в " |
| 421 |
"соответствии с текущим значением I<h_errno>." |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 425 |
#: opensuse-tumbleweed |
| 426 |
#, fuzzy |
| 427 |
#| msgid "" |
| 428 |
#| "The (obsolete) B<hstrerror>() function takes an error number (typically " |
| 429 |
#| "I<h_errno>) and returns the corresponding message string." |
| 430 |
msgid "" |
| 431 |
"The (obsolete) B<hstrerror>() function takes an error number (typically " |
| 432 |
"I<h_errno>) and returns the corresponding message string." |
| 433 |
msgstr "" |
| 434 |
"Функция B<hstrerror>() (устарела) принимает номер ошибки (обычно, " |
| 435 |
"I<h_errno>) и возвращает соответствующую строку с сообщением об ошибке." |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
#, fuzzy |
| 441 |
#| msgid "" |
| 442 |
#| "The domain name queries carried out by B<gethostbyname>() and " |
| 443 |
#| "B<gethostbyaddr>() rely on the Name Service Switch " |
| 444 |
#| "(B<nsswitch.conf>(5)) configured sources or a local name server " |
| 445 |
#| "(B<named>(8)). The default action is to query the Name Service Switch " |
| 446 |
#| "(B<nsswitch.conf(5))> configured sources, failing that, a local name " |
| 447 |
#| "server (B<named>(8))." |
| 448 |
msgid "" |
| 449 |
"The domain name queries carried out by B<gethostbyname>() and " |
| 450 |
"B<gethostbyaddr>() rely on the Name Service Switch (B<nsswitch.conf>(5)) " |
| 451 |
"configured sources or a local name server (B<named>(8)). The default action " |
| 452 |
"is to query the Name Service Switch (B<nsswitch.conf>(5)) configured " |
| 453 |
"sources, failing that, a local name server (B<named>(8))." |
| 454 |
msgstr "" |
| 455 |
"Запросы доменного имени, выполняемые B<gethostbyname>() и " |
| 456 |
"B<gethostbyaddr>(), полагаются на настроенные источники диспетчера службы " |
| 457 |
"имён (B<nsswitch.conf>(5)) или локальный сервер имён (B<named>(8)). " |
| 458 |
"Действием по умолчанию является запрос к настроенным источникам диспетчера " |
| 459 |
"службы имён (B<nsswitch.conf(5))>, при ошибке — к локальному серверу имён " |
| 460 |
"(B<named>(8))." |
| 461 |
|
| 462 |
#. type: SS |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
#, no-wrap |
| 466 |
msgid "Historical" |
| 467 |
msgstr "Историческая справка" |
| 468 |
|
| 469 |
#. type: Plain text |
| 470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 472 |
msgid "" |
| 473 |
"The B<nsswitch.conf>(5) file is the modern way of controlling the order of " |
| 474 |
"host lookups." |
| 475 |
msgstr "" |
| 476 |
"Современным способом управления порядком поиска узлов является файл " |
| 477 |
"B<nsswitch.conf>(5)." |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
msgid "" |
| 483 |
"In glibc 2.4 and earlier, the I<order> keyword was used to control the order " |
| 484 |
"of host lookups as defined in I</etc/host.conf> (B<host.conf>(5))." |
| 485 |
msgstr "" |
| 486 |
"В glibc 2.4 и старее, ключевое слово I<order> использовалось для управления " |
| 487 |
"порядком поиска узла в I</etc/host.conf> (B<host.conf>(5))." |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "The I<hostent> structure is defined in I<E<lt>netdb.hE<gt>> as follows:" |
| 493 |
msgstr "Структура I<hostent> определена в I<E<lt>netdb.hE<gt>> таким образом:" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 497 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
#, fuzzy, no-wrap |
| 499 |
#| msgid "" |
| 500 |
#| "struct hostent {\n" |
| 501 |
#| " char *h_name; /* official name of host */\n" |
| 502 |
#| " char **h_aliases; /* alias list */\n" |
| 503 |
#| " int h_addrtype; /* host address type */\n" |
| 504 |
#| " int h_length; /* length of address */\n" |
| 505 |
#| " char **h_addr_list; /* list of addresses */\n" |
| 506 |
#| "}\n" |
| 507 |
#| "#define h_addr h_addr_list[0] /* for backward compatibility */\n" |
| 508 |
msgid "" |
| 509 |
"struct hostent {\n" |
| 510 |
" char *h_name; /* official name of host */\n" |
| 511 |
" char **h_aliases; /* alias list */\n" |
| 512 |
" int h_addrtype; /* host address type */\n" |
| 513 |
" int h_length; /* size of address */\n" |
| 514 |
" char **h_addr_list; /* list of addresses */\n" |
| 515 |
"}\n" |
| 516 |
"#define h_addr h_addr_list[0] /* for backward compatibility */\n" |
| 517 |
msgstr "" |
| 518 |
"struct hostent {\n" |
| 519 |
" char *h_name; /* официальное имя узла */\n" |
| 520 |
" char **h_aliases; /* список псевдонимов */\n" |
| 521 |
" int h_addrtype; /* тип адреса узла */\n" |
| 522 |
" int h_length; /* длина адреса */\n" |
| 523 |
" char **h_addr_list; /* список адресов */\n" |
| 524 |
"}\n" |
| 525 |
"#define h_addr h_addr_list[0] /* для обратной совместимости */\n" |
| 526 |
|
| 527 |
#. type: Plain text |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
msgid "The members of the I<hostent> structure are:" |
| 531 |
msgstr "Члены структуры I<hostent>:" |
| 532 |
|
| 533 |
#. type: TP |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
#, no-wrap |
| 537 |
msgid "I<h_name>" |
| 538 |
msgstr "I<h_name>" |
| 539 |
|
| 540 |
#. type: Plain text |
| 541 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 542 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 543 |
msgid "The official name of the host." |
| 544 |
msgstr "Официальное имя узла." |
| 545 |
|
| 546 |
#. type: TP |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "I<h_aliases>" |
| 551 |
msgstr "I<h_aliases>" |
| 552 |
|
| 553 |
#. type: Plain text |
| 554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 556 |
msgid "" |
| 557 |
"An array of alternative names for the host, terminated by a null pointer." |
| 558 |
msgstr "Массив альтернативных имён узла, заканчивается указателем null." |
| 559 |
|
| 560 |
#. type: TP |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
#, no-wrap |
| 564 |
msgid "I<h_addrtype>" |
| 565 |
msgstr "I<h_addrtype>" |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 570 |
msgid "The type of address; always B<AF_INET> or B<AF_INET6> at present." |
| 571 |
msgstr "Тип адреса; B<AF_INET> или B<AF_INET6>." |
| 572 |
|
| 573 |
#. type: TP |
| 574 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 575 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 576 |
#, no-wrap |
| 577 |
msgid "I<h_length>" |
| 578 |
msgstr "I<h_length>" |
| 579 |
|
| 580 |
#. type: Plain text |
| 581 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 582 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
#, fuzzy |
| 584 |
#| msgid "The length of the address in bytes." |
| 585 |
msgid "The size of the address in bytes." |
| 586 |
msgstr "Длина адреса в байтах." |
| 587 |
|
| 588 |
#. type: TP |
| 589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 591 |
#, no-wrap |
| 592 |
msgid "I<h_addr_list>" |
| 593 |
msgstr "I<h_addr_list>" |
| 594 |
|
| 595 |
#. type: Plain text |
| 596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
msgid "" |
| 599 |
"An array of pointers to network addresses for the host (in network byte " |
| 600 |
"order), terminated by a null pointer." |
| 601 |
msgstr "" |
| 602 |
"Массив указателей сетевых адресов узла (в сетевом порядке байт), " |
| 603 |
"заканчивается указателем null." |
| 604 |
|
| 605 |
#. type: TP |
| 606 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 607 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 608 |
#, no-wrap |
| 609 |
msgid "I<h_addr>" |
| 610 |
msgstr "I<h_addr>" |
| 611 |
|
| 612 |
#. type: Plain text |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
msgid "The first address in I<h_addr_list> for backward compatibility." |
| 616 |
msgstr "Первый адрес из I<h_addr_list>, для обратной совместимости." |
| 617 |
|
| 618 |
#. type: SH |
| 619 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 620 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
#, no-wrap |
| 622 |
msgid "RETURN VALUE" |
| 623 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 624 |
|
| 625 |
#. type: Plain text |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
msgid "" |
| 629 |
"The B<gethostbyname>() and B<gethostbyaddr>() functions return the " |
| 630 |
"I<hostent> structure or a null pointer if an error occurs. On error, the " |
| 631 |
"I<h_errno> variable holds an error number. When non-NULL, the return value " |
| 632 |
"may point at static data, see the notes below." |
| 633 |
msgstr "" |
| 634 |
"Функции B<gethostbyname>() и B<gethostbyaddr>() возвращают структуру " |
| 635 |
"I<hostent> или указатель null при ошибке. При ошибке переменная I<h_errno> " |
| 636 |
"содержит номер ошибки. Если получен не NULL, то возвращаемое значение может " |
| 637 |
"указывать на статические данные, смотрите замечание далее." |
| 638 |
|
| 639 |
#. type: SH |
| 640 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 641 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 642 |
#, no-wrap |
| 643 |
msgid "ERRORS" |
| 644 |
msgstr "ОШИБКИ" |
| 645 |
|
| 646 |
#. type: Plain text |
| 647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
msgid "The variable I<h_errno> can have the following values:" |
| 650 |
msgstr "Переменная I<h_errno> может содержать следующие значения:" |
| 651 |
|
| 652 |
#. type: TP |
| 653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 655 |
#, no-wrap |
| 656 |
msgid "B<HOST_NOT_FOUND>" |
| 657 |
msgstr "B<HOST_NOT_FOUND>" |
| 658 |
|
| 659 |
#. type: Plain text |
| 660 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 661 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 662 |
msgid "The specified host is unknown." |
| 663 |
msgstr "Заданный узел неизвестен." |
| 664 |
|
| 665 |
#. type: TP |
| 666 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 667 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 668 |
#, no-wrap |
| 669 |
msgid "B<NO_DATA>" |
| 670 |
msgstr "B<NO_DATA>" |
| 671 |
|
| 672 |
#. type: Plain text |
| 673 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 674 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 675 |
msgid "" |
| 676 |
"The requested name is valid but does not have an IP address. Another type " |
| 677 |
"of request to the name server for this domain may return an answer. The " |
| 678 |
"constant B<NO_ADDRESS> is a synonym for B<NO_DATA>." |
| 679 |
msgstr "" |
| 680 |
"Запрашиваемое имя корректно, но не имеет IP-адреса. При другом типе запроса " |
| 681 |
"для этого домена сервер имён может вернуть ответ. Синонимом B<NO_DATA> " |
| 682 |
"является константа B<NO_ADDRESS>." |
| 683 |
|
| 684 |
#. type: TP |
| 685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 687 |
#, no-wrap |
| 688 |
msgid "B<NO_RECOVERY>" |
| 689 |
msgstr "B<NO_RECOVERY>" |
| 690 |
|
| 691 |
#. type: Plain text |
| 692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 694 |
msgid "A nonrecoverable name server error occurred." |
| 695 |
msgstr "Произошла неисправимая ошибка сервера имён." |
| 696 |
|
| 697 |
#. type: TP |
| 698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 700 |
#, no-wrap |
| 701 |
msgid "B<TRY_AGAIN>" |
| 702 |
msgstr "B<TRY_AGAIN>" |
| 703 |
|
| 704 |
#. type: Plain text |
| 705 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 706 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 707 |
msgid "" |
| 708 |
"A temporary error occurred on an authoritative name server. Try again later." |
| 709 |
msgstr "" |
| 710 |
"Произошла временная ошибка у авторитативного сервера имён. Попробуйте позже." |
| 711 |
|
| 712 |
#. type: SH |
| 713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
#, no-wrap |
| 716 |
msgid "FILES" |
| 717 |
msgstr "ФАЙЛЫ" |
| 718 |
|
| 719 |
#. type: TP |
| 720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
#, no-wrap |
| 723 |
msgid "I</etc/host.conf>" |
| 724 |
msgstr "I</etc/host.conf>" |
| 725 |
|
| 726 |
#. type: Plain text |
| 727 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 728 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 729 |
msgid "resolver configuration file" |
| 730 |
msgstr "файл с настройками резолвера" |
| 731 |
|
| 732 |
#. type: TP |
| 733 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 734 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 735 |
#, no-wrap |
| 736 |
msgid "I</etc/hosts>" |
| 737 |
msgstr "I</etc/hosts>" |
| 738 |
|
| 739 |
#. type: Plain text |
| 740 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 741 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 742 |
msgid "host database file" |
| 743 |
msgstr "файл базы данных узлов" |
| 744 |
|
| 745 |
#. type: TP |
| 746 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 747 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 748 |
#, no-wrap |
| 749 |
msgid "I</etc/nsswitch.conf>" |
| 750 |
msgstr "I</etc/nsswitch.conf>" |
| 751 |
|
| 752 |
#. type: Plain text |
| 753 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 754 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 755 |
msgid "name service switch configuration" |
| 756 |
msgstr "настройки диспетчера службы имён" |
| 757 |
|
| 758 |
#. type: SH |
| 759 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 760 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 761 |
#, no-wrap |
| 762 |
msgid "ATTRIBUTES" |
| 763 |
msgstr "АТРИБУТЫ" |
| 764 |
|
| 765 |
#. type: Plain text |
| 766 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 767 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 768 |
msgid "" |
| 769 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 770 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 771 |
|
| 772 |
#. type: tbl table |
| 773 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 774 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 775 |
#, no-wrap |
| 776 |
msgid "Interface" |
| 777 |
msgstr "Интерфейс" |
| 778 |
|
| 779 |
#. type: tbl table |
| 780 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 781 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 782 |
#, no-wrap |
| 783 |
msgid "Attribute" |
| 784 |
msgstr "Атрибут" |
| 785 |
|
| 786 |
#. type: tbl table |
| 787 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 788 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 789 |
#, no-wrap |
| 790 |
msgid "Value" |
| 791 |
msgstr "Значение" |
| 792 |
|
| 793 |
#. type: tbl table |
| 794 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 795 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 796 |
#, no-wrap |
| 797 |
msgid ".na\n" |
| 798 |
msgstr ".na\n" |
| 799 |
|
| 800 |
#. type: tbl table |
| 801 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 802 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 803 |
#, no-wrap |
| 804 |
msgid ".nh\n" |
| 805 |
msgstr ".nh\n" |
| 806 |
|
| 807 |
#. type: TP |
| 808 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 809 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 810 |
#, no-wrap |
| 811 |
msgid "B<gethostbyname>()" |
| 812 |
msgstr "B<gethostbyname>()" |
| 813 |
|
| 814 |
#. type: tbl table |
| 815 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 816 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 817 |
#, no-wrap |
| 818 |
msgid "Thread safety" |
| 819 |
msgstr "Безвредность в нитях" |
| 820 |
|
| 821 |
#. type: tbl table |
| 822 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 823 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 824 |
#, fuzzy, no-wrap |
| 825 |
#| msgid "MT-Unsafe race:hostbyname env\n" |
| 826 |
msgid "" |
| 827 |
"MT-Unsafe race:hostbyname env\n" |
| 828 |
"locale" |
| 829 |
msgstr "MT-Unsafe race:hostbyname env\n" |
| 830 |
|
| 831 |
#. type: TQ |
| 832 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 833 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 834 |
#, no-wrap |
| 835 |
msgid "B<gethostbyaddr>()" |
| 836 |
msgstr "B<gethostbyaddr>()" |
| 837 |
|
| 838 |
#. type: tbl table |
| 839 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 840 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 841 |
#, fuzzy, no-wrap |
| 842 |
#| msgid "MT-Unsafe race:hostbyaddr env\n" |
| 843 |
msgid "" |
| 844 |
"MT-Unsafe race:hostbyaddr env\n" |
| 845 |
"locale" |
| 846 |
msgstr "MT-Unsafe race:hostbyaddr env\n" |
| 847 |
|
| 848 |
#. type: tbl table |
| 849 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 850 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 851 |
#, fuzzy, no-wrap |
| 852 |
#| msgid "" |
| 853 |
#| "B<setmntent>(),\n" |
| 854 |
#| "B<endmntent>(),\n" |
| 855 |
#| "B<hasmntopt>()" |
| 856 |
msgid "" |
| 857 |
"B<sethostent>(),\n" |
| 858 |
"B<endhostent>(),\n" |
| 859 |
"B<gethostent_r>()" |
| 860 |
msgstr "" |
| 861 |
"B<setmntent>(),\n" |
| 862 |
"B<endmntent>(),\n" |
| 863 |
"B<hasmntopt>()" |
| 864 |
|
| 865 |
#. type: tbl table |
| 866 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 867 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 868 |
#, fuzzy, no-wrap |
| 869 |
#| msgid "MT-Unsafe race:hostent env\n" |
| 870 |
msgid "" |
| 871 |
"MT-Unsafe race:hostent env\n" |
| 872 |
"locale" |
| 873 |
msgstr "MT-Unsafe race:hostent env\n" |
| 874 |
|
| 875 |
#. type: tbl table |
| 876 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 877 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 878 |
#, fuzzy, no-wrap |
| 879 |
#| msgid "B<herror>(), B<hstrerror>():" |
| 880 |
msgid "" |
| 881 |
"B<herror>(),\n" |
| 882 |
"B<hstrerror>()" |
| 883 |
msgstr "B<herror>(), B<hstrerror>():" |
| 884 |
|
| 885 |
#. type: tbl table |
| 886 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 887 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 888 |
#, no-wrap |
| 889 |
msgid "MT-Safe" |
| 890 |
msgstr "MT-Safe" |
| 891 |
|
| 892 |
#. type: TQ |
| 893 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 894 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 895 |
#, no-wrap |
| 896 |
msgid "B<gethostent>()" |
| 897 |
msgstr "B<gethostent>()" |
| 898 |
|
| 899 |
#. type: tbl table |
| 900 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 901 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 902 |
#, fuzzy, no-wrap |
| 903 |
#| msgid "MT-Unsafe race:getdate env locale" |
| 904 |
msgid "" |
| 905 |
"MT-Unsafe race:hostent\n" |
| 906 |
"race:hostentbuf env locale" |
| 907 |
msgstr "MT-Unsafe race:getdate env locale" |
| 908 |
|
| 909 |
#. type: tbl table |
| 910 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 911 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 912 |
#, no-wrap |
| 913 |
msgid "B<gethostbyname2>()" |
| 914 |
msgstr "B<gethostbyname2>()" |
| 915 |
|
| 916 |
#. type: tbl table |
| 917 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 918 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 919 |
#, fuzzy, no-wrap |
| 920 |
#| msgid "MT-Unsafe race:hostbyname2\n" |
| 921 |
msgid "" |
| 922 |
"MT-Unsafe race:hostbyname2\n" |
| 923 |
"env locale" |
| 924 |
msgstr "MT-Unsafe race:hostbyname2\n" |
| 925 |
|
| 926 |
#. type: tbl table |
| 927 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 928 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 929 |
#, no-wrap |
| 930 |
msgid "" |
| 931 |
"B<gethostbyaddr_r>(),\n" |
| 932 |
"B<gethostbyname_r>(),\n" |
| 933 |
"B<gethostbyname2_r>()" |
| 934 |
msgstr "" |
| 935 |
"B<gethostbyaddr_r>(),\n" |
| 936 |
"B<gethostbyname_r>(),\n" |
| 937 |
"B<gethostbyname2_r>()" |
| 938 |
|
| 939 |
#. type: tbl table |
| 940 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 941 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 942 |
#, no-wrap |
| 943 |
msgid "MT-Safe env locale" |
| 944 |
msgstr "MT-Safe env locale" |
| 945 |
|
| 946 |
#. type: Plain text |
| 947 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 948 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 949 |
#, fuzzy |
| 950 |
#| msgid "" |
| 951 |
#| "In the above table, I<hostent> in I<race:hostent> signifies that if any " |
| 952 |
#| "of the functions B<sethostent>(), B<gethostent>(), B<gethostent_r>(), or " |
| 953 |
#| "B<endhostent>() are used in parallel in different threads of a program, " |
| 954 |
#| "then data races could occur." |
| 955 |
msgid "" |
| 956 |
"In the above table, I<hostent> in I<race:hostent> signifies that if any of " |
| 957 |
"the functions B<sethostent>(), B<gethostent>(), B<gethostent_r>(), or B<\\" |
| 958 |
"%endhostent>() are used in parallel in different threads of a program, then " |
| 959 |
"data races could occur." |
| 960 |
msgstr "" |
| 961 |
"В приведённой выше таблице I<hostent> в I<race:hostent> означает, что если в " |
| 962 |
"нескольких нитях программы одновременно используются функции " |
| 963 |
"B<sethostent>(), B<gethostent>(), B<gethostent_r>() или B<endhostent>(), то " |
| 964 |
"может возникнуть состязательность по данным." |
| 965 |
|
| 966 |
#. type: SH |
| 967 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 968 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 969 |
#, no-wrap |
| 970 |
msgid "STANDARDS" |
| 971 |
msgstr "СТАНДАРТЫ" |
| 972 |
|
| 973 |
#. type: TP |
| 974 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 975 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 976 |
#, fuzzy, no-wrap |
| 977 |
#| msgid "B<sethostent>(),\n" |
| 978 |
msgid "B<sethostent>()" |
| 979 |
msgstr "B<sethostent>(),\n" |
| 980 |
|
| 981 |
#. type: TQ |
| 982 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 983 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 984 |
#, fuzzy, no-wrap |
| 985 |
#| msgid "B<endhostent>(),\n" |
| 986 |
msgid "B<endhostent>()" |
| 987 |
msgstr "B<endhostent>(),\n" |
| 988 |
|
| 989 |
#. type: Plain text |
| 990 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 991 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 992 |
msgid "POSIX.1-2008." |
| 993 |
msgstr "POSIX.1-2008." |
| 994 |
|
| 995 |
#. type: TP |
| 996 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 997 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 998 |
#, no-wrap |
| 999 |
msgid "B<gethostent_r>()" |
| 1000 |
msgstr "B<gethostent_r>()" |
| 1001 |
|
| 1002 |
#. type: Plain text |
| 1003 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1004 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1005 |
msgid "GNU." |
| 1006 |
msgstr "GNU." |
| 1007 |
|
| 1008 |
#. type: TP |
| 1009 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1010 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1011 |
#, no-wrap |
| 1012 |
msgid "Others:" |
| 1013 |
msgstr "Другие:" |
| 1014 |
|
| 1015 |
#. type: Plain text |
| 1016 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1017 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1018 |
msgid "None." |
| 1019 |
msgstr "Отсутствуют." |
| 1020 |
|
| 1021 |
#. type: SH |
| 1022 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1023 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1024 |
#, no-wrap |
| 1025 |
msgid "HISTORY" |
| 1026 |
msgstr "ИСТОРИЯ" |
| 1027 |
|
| 1028 |
#. type: Plain text |
| 1029 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1030 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1031 |
msgid "POSIX.1-2001." |
| 1032 |
msgstr "POSIX.1-2001." |
| 1033 |
|
| 1034 |
#. type: TQ |
| 1035 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1036 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1037 |
#, fuzzy, no-wrap |
| 1038 |
#| msgid "B<h_errno>:" |
| 1039 |
msgid "I<h_errno>" |
| 1040 |
msgstr "B<h_errno>:" |
| 1041 |
|
| 1042 |
#. type: Plain text |
| 1043 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1044 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1045 |
msgid "" |
| 1046 |
"Marked obsolescent in POSIX.1-2001. Removed in POSIX.1-2008, recommending " |
| 1047 |
"the use of B<getaddrinfo>(3) and B<getnameinfo>(3) instead." |
| 1048 |
msgstr "" |
| 1049 |
|
| 1050 |
#. type: SH |
| 1051 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1052 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1053 |
#, no-wrap |
| 1054 |
msgid "NOTES" |
| 1055 |
msgstr "ПРИМЕЧАНИЯ" |
| 1056 |
|
| 1057 |
#. type: Plain text |
| 1058 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1059 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1060 |
msgid "" |
| 1061 |
"The functions B<gethostbyname>() and B<gethostbyaddr>() may return " |
| 1062 |
"pointers to static data, which may be overwritten by later calls. Copying " |
| 1063 |
"the I<struct hostent> does not suffice, since it contains pointers; a deep " |
| 1064 |
"copy is required." |
| 1065 |
msgstr "" |
| 1066 |
"Функции B<gethostbyname>() и B<gethostbyaddr>() могут возвращать указатели " |
| 1067 |
"на статические данные, которые могут быть перезаписаны при последующих " |
| 1068 |
"вызовах. Копирования I<struct hostent> недостаточно, так как она содержит " |
| 1069 |
"указатели; требуется глубокое копирование." |
| 1070 |
|
| 1071 |
#. type: Plain text |
| 1072 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1073 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1074 |
#, fuzzy |
| 1075 |
#| msgid "" |
| 1076 |
#| "In the original BSD implementation the I<len> argument of " |
| 1077 |
#| "B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and " |
| 1078 |
#| "declares the I<len> argument of B<gethostbyaddr>() to be of type " |
| 1079 |
#| "I<size_t>. (That is wrong, because it has to be I<int>, and I<size_t> is " |
| 1080 |
#| "not. POSIX.1-2001 makes it I<socklen_t>, which is OK.) See also " |
| 1081 |
#| "B<accept>(2)." |
| 1082 |
msgid "" |
| 1083 |
"In the original BSD implementation the I<size> argument of " |
| 1084 |
"B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares " |
| 1085 |
"the I<size> argument of B<gethostbyaddr>() to be of type I<size_t>. (That " |
| 1086 |
"is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 " |
| 1087 |
"makes it I<socklen_t>, which is OK.) See also B<accept>(2)." |
| 1088 |
msgstr "" |
| 1089 |
"В первой реализации BSD аргумент I<len> у B<gethostbyname>() имел тип " |
| 1090 |
"I<int>. Стандарт SUSv2 содержит ошибку и объявляет аргумент I<len> у " |
| 1091 |
"B<gethostbyaddr>() с типом I<size_t> (это неправильно, так как он должен " |
| 1092 |
"быть I<int>, а не I<size_t>. В POSIX.1-2001 указанный тип — I<socklen_t>, " |
| 1093 |
"который подходит). Смотрите также B<accept>(2)." |
| 1094 |
|
| 1095 |
#. type: Plain text |
| 1096 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1097 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1098 |
msgid "" |
| 1099 |
"The BSD prototype for B<gethostbyaddr>() uses I<const char\\ *> for the " |
| 1100 |
"first argument." |
| 1101 |
msgstr "" |
| 1102 |
"У прототипа BSD B<gethostbyaddr>() первый аргумент имеет тип I<const char\\ " |
| 1103 |
"*>." |
| 1104 |
|
| 1105 |
#. type: SS |
| 1106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1108 |
#, no-wrap |
| 1109 |
msgid "System V/POSIX extension" |
| 1110 |
msgstr "Расширение System V/POSIX" |
| 1111 |
|
| 1112 |
#. e.g., Linux, FreeBSD, UnixWare, HP-UX |
| 1113 |
#. e.g., FreeBSD, AIX |
| 1114 |
#. type: Plain text |
| 1115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1117 |
msgid "" |
| 1118 |
"POSIX requires the B<gethostent>() call, which should return the next entry " |
| 1119 |
"in the host data base. When using DNS/BIND this does not make much sense, " |
| 1120 |
"but it may be reasonable if the host data base is a file that can be read " |
| 1121 |
"line by line. On many systems, a routine of this name reads from the file " |
| 1122 |
"I</etc/hosts>. It may be available only when the library was built without " |
| 1123 |
"DNS support. The glibc version will ignore ipv6 entries. This function is " |
| 1124 |
"not reentrant, and glibc adds a reentrant version B<gethostent_r>()." |
| 1125 |
msgstr "" |
| 1126 |
"В POSIX требуется вызов B<gethostent>(), который должен возвращать следующий " |
| 1127 |
"элемент из базы данных узлов. При использовании DNS/BIND это не имеет " |
| 1128 |
"смысла, но допустимо, если база данных узлов — файл, который можно читать " |
| 1129 |
"строку за строкой. На многих системах процедура с таким именем выполняет " |
| 1130 |
"чтение из файла I</etc/hosts>. Она может быть доступна только когда " |
| 1131 |
"библиотека собрана без поддержки DNS. Версия glibc игнорирует записи ipv6. " |
| 1132 |
"Эта функция не реентерабельна; в glibc добавлена реентерабельная версия " |
| 1133 |
"B<gethostent_r>()." |
| 1134 |
|
| 1135 |
#. type: SS |
| 1136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1138 |
#, no-wrap |
| 1139 |
msgid "GNU extensions" |
| 1140 |
msgstr "Расширения GNU" |
| 1141 |
|
| 1142 |
#. type: Plain text |
| 1143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1145 |
#, fuzzy |
| 1146 |
#| msgid "" |
| 1147 |
#| "Glibc2 also has a B<gethostbyname2>() that works like " |
| 1148 |
#| "B<gethostbyname>(), but permits to specify the address family to which " |
| 1149 |
#| "the address must belong." |
| 1150 |
msgid "" |
| 1151 |
"glibc2 also has a B<gethostbyname2>() that works like B<gethostbyname>(), " |
| 1152 |
"but permits to specify the address family to which the address must belong." |
| 1153 |
msgstr "" |
| 1154 |
"В glibc2 также имеется B<gethostbyname2>(), работающая подобно " |
| 1155 |
"B<gethostbyname>(), но позволяющая задать адресное семейство, которому " |
| 1156 |
"должен принадлежать адрес." |
| 1157 |
|
| 1158 |
#. type: Plain text |
| 1159 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1160 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1161 |
#, fuzzy |
| 1162 |
#| msgid "" |
| 1163 |
#| "Glibc2 also has reentrant versions B<gethostent_r>(), " |
| 1164 |
#| "B<gethostbyaddr_r>(), B<gethostbyname_r>() and B<gethostbyname2_r>(). " |
| 1165 |
#| "The caller supplies a I<hostent> structure I<ret> which will be filled in " |
| 1166 |
#| "on success, and a temporary work buffer I<buf> of size I<buflen>. After " |
| 1167 |
#| "the call, I<result> will point to the result on success. In case of an " |
| 1168 |
#| "error or if no entry is found I<result> will be NULL. The functions " |
| 1169 |
#| "return 0 on success and a nonzero error number on failure. In addition " |
| 1170 |
#| "to the errors returned by the nonreentrant versions of these functions, " |
| 1171 |
#| "if I<buf> is too small, the functions will return B<ERANGE>, and the call " |
| 1172 |
#| "should be retried with a larger buffer. The global variable I<h_errno> " |
| 1173 |
#| "is not modified, but the address of a variable in which to store error " |
| 1174 |
#| "numbers is passed in I<h_errnop>." |
| 1175 |
msgid "" |
| 1176 |
"glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 1177 |
"B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a " |
| 1178 |
"I<hostent> structure I<ret> which will be filled in on success, and a " |
| 1179 |
"temporary work buffer I<buf> of size I<bufsize>. After the call, I<result> " |
| 1180 |
"will point to the result on success. In case of an error or if no entry is " |
| 1181 |
"found I<result> will be NULL. The functions return 0 on success and a " |
| 1182 |
"nonzero error number on failure. In addition to the errors returned by the " |
| 1183 |
"nonreentrant versions of these functions, if I<buf> is too small, the " |
| 1184 |
"functions will return B<ERANGE>, and the call should be retried with a " |
| 1185 |
"larger buffer. The global variable I<h_errno> is not modified, but the " |
| 1186 |
"address of a variable in which to store error numbers is passed in " |
| 1187 |
"I<h_errnop>." |
| 1188 |
msgstr "" |
| 1189 |
"В glibc2 также имеются реентерабельные версии B<gethostent_r>(), " |
| 1190 |
"B<gethostbyaddr_r>(), B<gethostbyname_r>() и B<gethostbyname2_r>(). " |
| 1191 |
"Вызывающий передаёт структуру I<hostent> I<ret>, которая будет заполнена, и " |
| 1192 |
"временный рабочий буфер I<buf> размера I<buflen>. После вызова I<result> " |
| 1193 |
"будет указывать на результат. В случае ошибки или при отсутствии записи " |
| 1194 |
"I<result> будет NULL. При успешном выполнении функция возвращает 0 и " |
| 1195 |
"ненулевой номер ошибки при сбое. Если I<buf> слишком мал, то кроме ошибок, " |
| 1196 |
"возвращаемых нереентерабельными версиями этих функций, возвращается " |
| 1197 |
"B<ERANGE>, и вызов нужно повторить с большим буфером. Глобальная переменная " |
| 1198 |
"I<h_errno> не изменяется, но адрес переменной, в которой хранятся номера " |
| 1199 |
"ошибок, передаётся в I<h_errnop>." |
| 1200 |
|
| 1201 |
#. type: SH |
| 1202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1204 |
#, no-wrap |
| 1205 |
msgid "BUGS" |
| 1206 |
msgstr "ПРОГРАММНЫЕ ОШИБКИ" |
| 1207 |
|
| 1208 |
#. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482973 |
| 1209 |
#. type: Plain text |
| 1210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1212 |
msgid "" |
| 1213 |
"B<gethostbyname>() does not recognize components of a dotted IPv4 address " |
| 1214 |
"string that are expressed in hexadecimal." |
| 1215 |
msgstr "" |
| 1216 |
"Функция B<gethostbyname>() не работает с частями строки адреса IPv4 в " |
| 1217 |
"точечном формате, если они записаны шестнадцатеричными числами." |
| 1218 |
|
| 1219 |
#. type: SH |
| 1220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1222 |
#, no-wrap |
| 1223 |
msgid "SEE ALSO" |
| 1224 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 1225 |
|
| 1226 |
#. .BR getipnodebyaddr (3), |
| 1227 |
#. .BR getipnodebyname (3), |
| 1228 |
#. type: Plain text |
| 1229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1231 |
msgid "" |
| 1232 |
"B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), " |
| 1233 |
"B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), " |
| 1234 |
"B<hostname>(7), B<named>(8)" |
| 1235 |
msgstr "" |
| 1236 |
"B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), " |
| 1237 |
"B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), " |
| 1238 |
"B<hostname>(7), B<named>(8)" |
| 1239 |
|
| 1240 |
#. type: TH |
| 1241 |
#: debian-trixie |
| 1242 |
#, no-wrap |
| 1243 |
msgid "2024-05-02" |
| 1244 |
msgstr "2 мая 2024 г." |
| 1245 |
|
| 1246 |
#. type: TH |
| 1247 |
#: debian-trixie |
| 1248 |
#, no-wrap |
| 1249 |
msgid "Linux man-pages 6.9.1" |
| 1250 |
msgstr "Страницы руководства Linux 6.9.1" |
| 1251 |
|
| 1252 |
#. type: Plain text |
| 1253 |
#: debian-trixie |
| 1254 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1255 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 1256 |
|
| 1257 |
#. type: Plain text |
| 1258 |
#: debian-trixie |
| 1259 |
#, fuzzy, no-wrap |
| 1260 |
#| msgid "" |
| 1261 |
#| "B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 1262 |
#| "B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1263 |
#| "B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1264 |
msgid "" |
| 1265 |
"B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n" |
| 1266 |
"B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<len>B<],>\n" |
| 1267 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1268 |
msgstr "" |
| 1269 |
"B<#include E<lt>sys/socket.hE<gt>> /* для AF_INET */\n" |
| 1270 |
"B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1271 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1272 |
|
| 1273 |
#. type: Plain text |
| 1274 |
#: debian-trixie |
| 1275 |
#, fuzzy, no-wrap |
| 1276 |
#| msgid "" |
| 1277 |
#| "B<int gethostent_r(>\n" |
| 1278 |
#| "B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1279 |
#| "B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1280 |
msgid "" |
| 1281 |
"B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n" |
| 1282 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1283 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1284 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1285 |
msgstr "" |
| 1286 |
"B<int gethostent_r(>\n" |
| 1287 |
"B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1288 |
"B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1289 |
|
| 1290 |
#. type: Plain text |
| 1291 |
#: debian-trixie |
| 1292 |
#, no-wrap |
| 1293 |
msgid "" |
| 1294 |
"B<[[deprecated]]>\n" |
| 1295 |
"B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<len>B<], socklen_t >I<len>B<,>\n" |
| 1296 |
"B< int >I<type>B<,>\n" |
| 1297 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1298 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1299 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1300 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1301 |
"B<[[deprecated]]>\n" |
| 1302 |
"B<int gethostbyname_r(const char *restrict >I<name>B<,>\n" |
| 1303 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1304 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1305 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1306 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1307 |
"B<[[deprecated]]>\n" |
| 1308 |
"B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n" |
| 1309 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1310 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1311 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1312 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1313 |
msgstr "" |
| 1314 |
|
| 1315 |
#. type: Plain text |
| 1316 |
#: debian-trixie |
| 1317 |
#, fuzzy |
| 1318 |
#| msgid "" |
| 1319 |
#| "The B<gethostbyaddr>() function returns a structure of type I<hostent> " |
| 1320 |
#| "for the given host address I<addr> of length I<len> and address type " |
| 1321 |
#| "I<type>. Valid address types are B<AF_INET> and B<AF_INET6>. The host " |
| 1322 |
#| "address argument is a pointer to a struct of a type depending on the " |
| 1323 |
#| "address type, for example a I<struct in_addr *> (probably obtained via a " |
| 1324 |
#| "call to B<inet_addr>(3)) for address type B<AF_INET>." |
| 1325 |
msgid "" |
| 1326 |
"The B<gethostbyaddr>() function returns a structure of type I<hostent> for " |
| 1327 |
"the given host address I<addr> of length I<len> and address type I<type>. " |
| 1328 |
"Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/" |
| 1329 |
"socket.hE<gt>>). The host address argument is a pointer to a struct of a " |
| 1330 |
"type depending on the address type, for example a I<struct in_addr *> " |
| 1331 |
"(probably obtained via a call to B<inet_addr>(3)) for address type " |
| 1332 |
"B<AF_INET>." |
| 1333 |
msgstr "" |
| 1334 |
"Функция B<gethostbyaddr>() возвращает структуру типа I<hostent> для адреса " |
| 1335 |
"узла I<addr> длинной I<len> и типом адреса I<type>. Допустимые типы адресов " |
| 1336 |
"— B<AF_INET> и B<AF_INET6>. Аргумент адреса узла — указатель на структуру с " |
| 1337 |
"типом, зависящим от типа адреса, например для типа адреса B<AF_INET> " |
| 1338 |
"используется I<struct in_addr *> (возможно, полученная из вызова " |
| 1339 |
"B<inet_addr>(3))." |
| 1340 |
|
| 1341 |
#. type: Plain text |
| 1342 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1343 |
msgid "" |
| 1344 |
"The (obsolete) B<hstrerror>() function takes an error number (typically " |
| 1345 |
"I<h_errno>) and returns the corresponding message string." |
| 1346 |
msgstr "" |
| 1347 |
"Функция B<hstrerror>() (устарела) принимает номер ошибки (обычно, " |
| 1348 |
"I<h_errno>) и возвращает соответствующую строку с сообщением об ошибке." |
| 1349 |
|
| 1350 |
#. type: Plain text |
| 1351 |
#: debian-trixie |
| 1352 |
#, no-wrap |
| 1353 |
msgid "" |
| 1354 |
"struct hostent {\n" |
| 1355 |
" char *h_name; /* official name of host */\n" |
| 1356 |
" char **h_aliases; /* alias list */\n" |
| 1357 |
" int h_addrtype; /* host address type */\n" |
| 1358 |
" int h_length; /* length of address */\n" |
| 1359 |
" char **h_addr_list; /* list of addresses */\n" |
| 1360 |
"}\n" |
| 1361 |
"#define h_addr h_addr_list[0] /* for backward compatibility */\n" |
| 1362 |
msgstr "" |
| 1363 |
"struct hostent {\n" |
| 1364 |
" char *h_name; /* официальное имя узла */\n" |
| 1365 |
" char **h_aliases; /* список псевдонимов */\n" |
| 1366 |
" int h_addrtype; /* тип адреса узла */\n" |
| 1367 |
" int h_length; /* длина адреса */\n" |
| 1368 |
" char **h_addr_list; /* список адресов */\n" |
| 1369 |
"}\n" |
| 1370 |
"#define h_addr h_addr_list[0] /* для обратной совместимости */\n" |
| 1371 |
|
| 1372 |
#. type: Plain text |
| 1373 |
#: debian-trixie |
| 1374 |
msgid "The length of the address in bytes." |
| 1375 |
msgstr "Длина адреса в байтах." |
| 1376 |
|
| 1377 |
#. type: Plain text |
| 1378 |
#: debian-trixie |
| 1379 |
msgid "" |
| 1380 |
"In the original BSD implementation the I<len> argument of " |
| 1381 |
"B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares " |
| 1382 |
"the I<len> argument of B<gethostbyaddr>() to be of type I<size_t>. (That " |
| 1383 |
"is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 " |
| 1384 |
"makes it I<socklen_t>, which is OK.) See also B<accept>(2)." |
| 1385 |
msgstr "" |
| 1386 |
"В первой реализации BSD аргумент I<len> у B<gethostbyname>() имел тип " |
| 1387 |
"I<int>. Стандарт SUSv2 содержит ошибку и объявляет аргумент I<len> у " |
| 1388 |
"B<gethostbyaddr>() с типом I<size_t> (это неправильно, так как он должен " |
| 1389 |
"быть I<int>, а не I<size_t>. В POSIX.1-2001 указанный тип — I<socklen_t>, " |
| 1390 |
"который подходит). Смотрите также B<accept>(2)." |
| 1391 |
|
| 1392 |
#. type: Plain text |
| 1393 |
#: debian-trixie |
| 1394 |
#, fuzzy |
| 1395 |
#| msgid "" |
| 1396 |
#| "Glibc2 also has reentrant versions B<gethostent_r>(), " |
| 1397 |
#| "B<gethostbyaddr_r>(), B<gethostbyname_r>() and B<gethostbyname2_r>(). " |
| 1398 |
#| "The caller supplies a I<hostent> structure I<ret> which will be filled in " |
| 1399 |
#| "on success, and a temporary work buffer I<buf> of size I<buflen>. After " |
| 1400 |
#| "the call, I<result> will point to the result on success. In case of an " |
| 1401 |
#| "error or if no entry is found I<result> will be NULL. The functions " |
| 1402 |
#| "return 0 on success and a nonzero error number on failure. In addition " |
| 1403 |
#| "to the errors returned by the nonreentrant versions of these functions, " |
| 1404 |
#| "if I<buf> is too small, the functions will return B<ERANGE>, and the call " |
| 1405 |
#| "should be retried with a larger buffer. The global variable I<h_errno> " |
| 1406 |
#| "is not modified, but the address of a variable in which to store error " |
| 1407 |
#| "numbers is passed in I<h_errnop>." |
| 1408 |
msgid "" |
| 1409 |
"glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 1410 |
"B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a " |
| 1411 |
"I<hostent> structure I<ret> which will be filled in on success, and a " |
| 1412 |
"temporary work buffer I<buf> of size I<buflen>. After the call, I<result> " |
| 1413 |
"will point to the result on success. In case of an error or if no entry is " |
| 1414 |
"found I<result> will be NULL. The functions return 0 on success and a " |
| 1415 |
"nonzero error number on failure. In addition to the errors returned by the " |
| 1416 |
"nonreentrant versions of these functions, if I<buf> is too small, the " |
| 1417 |
"functions will return B<ERANGE>, and the call should be retried with a " |
| 1418 |
"larger buffer. The global variable I<h_errno> is not modified, but the " |
| 1419 |
"address of a variable in which to store error numbers is passed in " |
| 1420 |
"I<h_errnop>." |
| 1421 |
msgstr "" |
| 1422 |
"В glibc2 также имеются реентерабельные версии B<gethostent_r>(), " |
| 1423 |
"B<gethostbyaddr_r>(), B<gethostbyname_r>() и B<gethostbyname2_r>(). " |
| 1424 |
"Вызывающий передаёт структуру I<hostent> I<ret>, которая будет заполнена, и " |
| 1425 |
"временный рабочий буфер I<buf> размера I<buflen>. После вызова I<result> " |
| 1426 |
"будет указывать на результат. В случае ошибки или при отсутствии записи " |
| 1427 |
"I<result> будет NULL. При успешном выполнении функция возвращает 0 и " |
| 1428 |
"ненулевой номер ошибки при сбое. Если I<buf> слишком мал, то кроме ошибок, " |
| 1429 |
"возвращаемых нереентерабельными версиями этих функций, возвращается " |
| 1430 |
"B<ERANGE>, и вызов нужно повторить с большим буфером. Глобальная переменная " |
| 1431 |
"I<h_errno> не изменяется, но адрес переменной, в которой хранятся номера " |
| 1432 |
"ошибок, передаётся в I<h_errnop>." |
| 1433 |
|
| 1434 |
#. type: TH |
| 1435 |
#: fedora-44 fedora-rawhide |
| 1436 |
#, no-wrap |
| 1437 |
msgid "2024-12-24" |
| 1438 |
msgstr "24 декабря 2024 г." |
| 1439 |
|
| 1440 |
#. type: TH |
| 1441 |
#: fedora-44 fedora-rawhide |
| 1442 |
#, no-wrap |
| 1443 |
msgid "Linux man-pages 6.13" |
| 1444 |
msgstr "Страницы руководства Linux 6.13" |
| 1445 |
|
| 1446 |
#. type: Plain text |
| 1447 |
#: fedora-44 fedora-rawhide |
| 1448 |
#, fuzzy, no-wrap |
| 1449 |
#| msgid "" |
| 1450 |
#| "B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 1451 |
#| "B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1452 |
#| "B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1453 |
msgid "" |
| 1454 |
"B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n" |
| 1455 |
"B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n" |
| 1456 |
"B< socklen_t >I<size>B<, int >I<type>B<);>\n" |
| 1457 |
msgstr "" |
| 1458 |
"B<#include E<lt>sys/socket.hE<gt>> /* для AF_INET */\n" |
| 1459 |
"B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1460 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1461 |
|
| 1462 |
#. type: Plain text |
| 1463 |
#: fedora-44 fedora-rawhide |
| 1464 |
#, fuzzy, no-wrap |
| 1465 |
#| msgid "" |
| 1466 |
#| "B<int gethostent_r(>\n" |
| 1467 |
#| "B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1468 |
#| "B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1469 |
msgid "" |
| 1470 |
"B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n" |
| 1471 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1472 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1473 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1474 |
msgstr "" |
| 1475 |
"B<int gethostent_r(>\n" |
| 1476 |
"B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1477 |
"B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1478 |
|
| 1479 |
#. type: Plain text |
| 1480 |
#: fedora-44 fedora-rawhide |
| 1481 |
#, no-wrap |
| 1482 |
msgid "" |
| 1483 |
"B<[[deprecated]]>\n" |
| 1484 |
"B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n" |
| 1485 |
"B< int >I<type>B<,>\n" |
| 1486 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1487 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1488 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1489 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1490 |
"B<[[deprecated]]>\n" |
| 1491 |
"B<int gethostbyname_r(const char *restrict >I<name>B<,>\n" |
| 1492 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1493 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1494 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1495 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1496 |
"B<[[deprecated]]>\n" |
| 1497 |
"B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n" |
| 1498 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1499 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1500 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1501 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1502 |
msgstr "" |
| 1503 |
|
| 1504 |
#. type: Plain text |
| 1505 |
#: fedora-44 fedora-rawhide |
| 1506 |
#, fuzzy |
| 1507 |
#| msgid "" |
| 1508 |
#| "The B<gethostbyaddr>() function returns a structure of type I<hostent> " |
| 1509 |
#| "for the given host address I<addr> of length I<len> and address type " |
| 1510 |
#| "I<type>. Valid address types are B<AF_INET> and B<AF_INET6>. The host " |
| 1511 |
#| "address argument is a pointer to a struct of a type depending on the " |
| 1512 |
#| "address type, for example a I<struct in_addr *> (probably obtained via a " |
| 1513 |
#| "call to B<inet_addr>(3)) for address type B<AF_INET>." |
| 1514 |
msgid "" |
| 1515 |
"The B<gethostbyaddr>() function returns a structure of type I<hostent> for " |
| 1516 |
"the given host address I<addr> of size I<len> and address type I<type>. " |
| 1517 |
"Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/" |
| 1518 |
"socket.hE<gt>>). The host address argument is a pointer to a struct of a " |
| 1519 |
"type depending on the address type, for example a I<struct in_addr *> " |
| 1520 |
"(probably obtained via a call to B<inet_addr>(3)) for address type " |
| 1521 |
"B<AF_INET>." |
| 1522 |
msgstr "" |
| 1523 |
"Функция B<gethostbyaddr>() возвращает структуру типа I<hostent> для адреса " |
| 1524 |
"узла I<addr> длинной I<len> и типом адреса I<type>. Допустимые типы адресов " |
| 1525 |
"— B<AF_INET> и B<AF_INET6>. Аргумент адреса узла — указатель на структуру с " |
| 1526 |
"типом, зависящим от типа адреса, например для типа адреса B<AF_INET> " |
| 1527 |
"используется I<struct in_addr *> (возможно, полученная из вызова " |
| 1528 |
"B<inet_addr>(3))." |
| 1529 |
|
| 1530 |
#. type: TH |
| 1531 |
#: mageia-cauldron |
| 1532 |
#, no-wrap |
| 1533 |
msgid "Linux man-pages 6.17" |
| 1534 |
msgstr "Страницы руководства Linux 6.17" |
| 1535 |
|
| 1536 |
#. type: TH |
| 1537 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1538 |
#, no-wrap |
| 1539 |
msgid "Linux man-pages (unreleased)" |
| 1540 |
msgstr "Страницы руководства Linux (не выпущены)" |