| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "getnameinfo" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2025-12-25" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "" |
| 50 |
"getnameinfo - address-to-name translation in protocol-independent manner" |
| 51 |
msgstr "" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "" |
| 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 "SYNOPSIS" |
| 71 |
msgstr "" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "" |
| 78 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 79 |
"B<#include E<lt>netdb.hE<gt>>\n" |
| 80 |
msgstr "" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 84 |
#: opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "" |
| 87 |
"B<int getnameinfo(>socklen_t hostlen, socklen_t servlen;\n" |
| 88 |
"B< const struct sockaddr *restrict >I<addr>B<, socklen_t >I<addrlen>B<,>\n" |
| 89 |
"B< char >I<host>B<[_Nullable restrict >I<hostlen>B<],>\n" |
| 90 |
"B< socklen_t >I<hostlen>B<,>\n" |
| 91 |
"B< char >I<serv>B<[_Nullable restrict >I<servlen>B<],>\n" |
| 92 |
"B< socklen_t >I<servlen>B<,>\n" |
| 93 |
"B< int >I<flags>B<);>\n" |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 101 |
msgstr "" |
| 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 |
msgid "B<getnameinfo>():" |
| 107 |
msgstr "" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
#, no-wrap |
| 113 |
msgid "" |
| 114 |
" Since glibc 2.22:\n" |
| 115 |
" _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 116 |
" glibc 2.21 and earlier:\n" |
| 117 |
" _POSIX_C_SOURCE\n" |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. type: SH |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
#, no-wrap |
| 124 |
msgid "DESCRIPTION" |
| 125 |
msgstr "" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
msgid "" |
| 131 |
"The B<getnameinfo>() function is the inverse of B<getaddrinfo>(3): it " |
| 132 |
"converts a socket address to a corresponding host and service, in a protocol-" |
| 133 |
"independent manner. It combines the functionality of B<gethostbyaddr>(3) " |
| 134 |
"and B<getservbyport>(3), but unlike those functions, B<getnameinfo>() is " |
| 135 |
"reentrant and allows programs to eliminate IPv4-versus-IPv6 dependencies." |
| 136 |
msgstr "" |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
msgid "" |
| 142 |
"The I<addr> argument is a pointer to a generic socket address structure (of " |
| 143 |
"type I<sockaddr_in> or I<sockaddr_in6>) of size I<addrlen> that holds the " |
| 144 |
"input IP address and port number. The arguments I<host> and I<serv> are " |
| 145 |
"pointers to caller-allocated buffers (of size I<hostlen> and I<servlen> " |
| 146 |
"respectively) into which B<getnameinfo>() places null-terminated strings " |
| 147 |
"containing the host and service names respectively." |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
msgid "" |
| 154 |
"The caller can specify that no hostname (or no service name) is required by " |
| 155 |
"providing a NULL I<host> (or I<serv>) argument or a zero I<hostlen> (or " |
| 156 |
"I<servlen>) argument. However, at least one of hostname or service name " |
| 157 |
"must be requested." |
| 158 |
msgstr "" |
| 159 |
|
| 160 |
#. type: Plain text |
| 161 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 162 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 163 |
msgid "" |
| 164 |
"The I<flags> argument modifies the behavior of B<getnameinfo>() as follows:" |
| 165 |
msgstr "" |
| 166 |
|
| 167 |
#. type: TP |
| 168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 170 |
#, no-wrap |
| 171 |
msgid "B<NI_NAMEREQD>" |
| 172 |
msgstr "" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "If set, then an error is returned if the hostname cannot be determined." |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: TP |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
#, no-wrap |
| 184 |
msgid "B<NI_DGRAM>" |
| 185 |
msgstr "" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"If set, then the service is datagram (UDP) based rather than stream (TCP) " |
| 192 |
"based. This is required for the few ports (512\\[en]514) that have " |
| 193 |
"different services for UDP and TCP." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: TP |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
#, no-wrap |
| 200 |
msgid "B<NI_NOFQDN>" |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
msgid "" |
| 207 |
"If set, return only the hostname part of the fully qualified domain name for " |
| 208 |
"local hosts." |
| 209 |
msgstr "" |
| 210 |
|
| 211 |
#. type: TP |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "B<NI_NUMERICHOST>" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. For example, by calling |
| 219 |
#. .BR inet_ntop () |
| 220 |
#. instead of |
| 221 |
#. .BR gethostbyaddr (). |
| 222 |
#. POSIX.1-2001 TC1 has NI_NUMERICSCOPE, but glibc doesn't have it. |
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "" |
| 227 |
"If set, then the numeric form of the hostname is returned. (When not set, " |
| 228 |
"this will still happen in case the node's name cannot be determined.)" |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: TP |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "B<NI_NUMERICSERV>" |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"If set, then the numeric form of the service address is returned. (When not " |
| 243 |
"set, this will still happen in case the service's name cannot be determined.)" |
| 244 |
msgstr "" |
| 245 |
|
| 246 |
#. type: SS |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
#, no-wrap |
| 250 |
msgid "Extensions to getnameinfo() for Internationalized Domain Names" |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
msgid "" |
| 257 |
"Starting with glibc 2.3.4, B<getnameinfo>() has been extended to " |
| 258 |
"selectively allow hostnames to be transparently converted to and from the " |
| 259 |
"Internationalized Domain Name (IDN) format (see RFC 3490, " |
| 260 |
"I<Internationalizing Domain Names in Applications (IDNA)>). Three new flags " |
| 261 |
"are defined:" |
| 262 |
msgstr "" |
| 263 |
|
| 264 |
#. type: TP |
| 265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 267 |
#, no-wrap |
| 268 |
msgid "B<NI_IDN>" |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
msgid "" |
| 275 |
"If this flag is used, then the name found in the lookup process is converted " |
| 276 |
"from IDN format to the locale's encoding if necessary. ASCII-only names are " |
| 277 |
"not affected by the conversion, which makes this flag usable in existing " |
| 278 |
"programs and environments." |
| 279 |
msgstr "" |
| 280 |
|
| 281 |
#. type: TP |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
#, no-wrap |
| 285 |
msgid "B<NI_IDN_ALLOW_UNASSIGNED>" |
| 286 |
msgstr "" |
| 287 |
|
| 288 |
#. type: TQ |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "B<NI_IDN_USE_STD3_ASCII_RULES>" |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"Setting these flags will enable the IDNA_ALLOW_UNASSIGNED (allow unassigned " |
| 300 |
"Unicode code points) and IDNA_USE_STD3_ASCII_RULES (check output to make " |
| 301 |
"sure it is a STD3 conforming hostname) flags respectively to be used in the " |
| 302 |
"IDNA handling." |
| 303 |
msgstr "" |
| 304 |
|
| 305 |
#. type: SH |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
#, no-wrap |
| 309 |
msgid "RETURN VALUE" |
| 310 |
msgstr "" |
| 311 |
|
| 312 |
# |
| 313 |
#. FIXME glibc defines the following additional errors, some which |
| 314 |
#. can probably be returned by getnameinfo(); they need to |
| 315 |
#. be documented. |
| 316 |
#. #ifdef __USE_GNU |
| 317 |
#. #define EAI_INPROGRESS -100 /* Processing request in progress. */ |
| 318 |
#. #define EAI_CANCELED -101 /* Request canceled. */ |
| 319 |
#. #define EAI_NOTCANCELED -102 /* Request not canceled. */ |
| 320 |
#. #define EAI_ALLDONE -103 /* All requests done. */ |
| 321 |
#. #define EAI_INTR -104 /* Interrupted by a signal. */ |
| 322 |
#. #define EAI_IDN_ENCODE -105 /* IDN encoding failed. */ |
| 323 |
#. #endif |
| 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 |
"On success, 0 is returned, and node and service names, if requested, are " |
| 329 |
"filled with null-terminated strings, possibly truncated to fit the specified " |
| 330 |
"buffer lengths. On error, one of the following nonzero error codes is " |
| 331 |
"returned:" |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: TP |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "B<EAI_AGAIN>" |
| 339 |
msgstr "" |
| 340 |
|
| 341 |
#. type: Plain text |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
msgid "The name could not be resolved at this time. Try again later." |
| 345 |
msgstr "" |
| 346 |
|
| 347 |
#. type: TP |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
#, no-wrap |
| 351 |
msgid "B<EAI_BADFLAGS>" |
| 352 |
msgstr "" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "The I<flags> argument has an invalid value." |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#. type: TP |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
#, no-wrap |
| 364 |
msgid "B<EAI_FAIL>" |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "A nonrecoverable error occurred." |
| 371 |
msgstr "" |
| 372 |
|
| 373 |
#. type: TP |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "B<EAI_FAMILY>" |
| 378 |
msgstr "" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
msgid "" |
| 384 |
"The address family was not recognized, or the address length was invalid for " |
| 385 |
"the specified family." |
| 386 |
msgstr "" |
| 387 |
|
| 388 |
#. type: TP |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "B<EAI_MEMORY>" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
msgid "Out of memory." |
| 399 |
msgstr "" |
| 400 |
|
| 401 |
#. type: TP |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
#, no-wrap |
| 405 |
msgid "B<EAI_NONAME>" |
| 406 |
msgstr "" |
| 407 |
|
| 408 |
#. type: Plain text |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
msgid "" |
| 412 |
"The name does not resolve for the supplied arguments. B<NI_NAMEREQD> is set " |
| 413 |
"and the host's name cannot be located, or neither hostname nor service name " |
| 414 |
"were requested." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
#. type: TP |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
#, no-wrap |
| 421 |
msgid "B<EAI_OVERFLOW>" |
| 422 |
msgstr "" |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
msgid "The buffer pointed to by I<host> or I<serv> was too small." |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
#. type: TP |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "B<EAI_SYSTEM>" |
| 435 |
msgstr "" |
| 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 |
msgid "A system error occurred. The error code can be found in I<errno>." |
| 441 |
msgstr "" |
| 442 |
|
| 443 |
#. type: Plain text |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
msgid "" |
| 447 |
"The B<gai_strerror>(3) function translates these error codes to a human " |
| 448 |
"readable string, suitable for error reporting." |
| 449 |
msgstr "" |
| 450 |
|
| 451 |
#. type: SH |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
#, no-wrap |
| 455 |
msgid "FILES" |
| 456 |
msgstr "" |
| 457 |
|
| 458 |
#. type: Plain text |
| 459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 461 |
msgid "I</etc/hosts>" |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
msgid "I</etc/nsswitch.conf>" |
| 468 |
msgstr "" |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
msgid "I</etc/resolv.conf>" |
| 474 |
msgstr "" |
| 475 |
|
| 476 |
#. type: SH |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "ATTRIBUTES" |
| 481 |
msgstr "" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "" |
| 487 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 488 |
msgstr "" |
| 489 |
|
| 490 |
#. type: tbl table |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
#, no-wrap |
| 494 |
msgid "Interface" |
| 495 |
msgstr "" |
| 496 |
|
| 497 |
#. type: tbl table |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "Attribute" |
| 502 |
msgstr "" |
| 503 |
|
| 504 |
#. type: tbl table |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
#, no-wrap |
| 508 |
msgid "Value" |
| 509 |
msgstr "" |
| 510 |
|
| 511 |
#. type: tbl table |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
#, no-wrap |
| 515 |
msgid ".na\n" |
| 516 |
msgstr "" |
| 517 |
|
| 518 |
#. type: tbl table |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid ".nh\n" |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: tbl table |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
#, no-wrap |
| 529 |
msgid "B<getnameinfo>()" |
| 530 |
msgstr "" |
| 531 |
|
| 532 |
#. type: tbl table |
| 533 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 534 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
#, no-wrap |
| 536 |
msgid "Thread safety" |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: tbl table |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "MT-Safe env locale" |
| 544 |
msgstr "" |
| 545 |
|
| 546 |
#. type: SH |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "STANDARDS" |
| 551 |
msgstr "" |
| 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 "POSIX.1-2008. RFC\\ 2553." |
| 557 |
msgstr "" |
| 558 |
|
| 559 |
#. type: SH |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
#, no-wrap |
| 563 |
msgid "HISTORY" |
| 564 |
msgstr "" |
| 565 |
|
| 566 |
#. type: Plain text |
| 567 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 568 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 569 |
msgid "glibc 2.1. POSIX.1-2001." |
| 570 |
msgstr "" |
| 571 |
|
| 572 |
#. type: Plain text |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
msgid "" |
| 576 |
"Before glibc 2.2, the I<hostlen> and I<servlen> arguments were typed as " |
| 577 |
"I<size_t>." |
| 578 |
msgstr "" |
| 579 |
|
| 580 |
#. type: SH |
| 581 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 582 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
#, no-wrap |
| 584 |
msgid "NOTES" |
| 585 |
msgstr "" |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 589 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 590 |
msgid "" |
| 591 |
"In order to assist the programmer in choosing reasonable sizes for the " |
| 592 |
"supplied buffers, I<E<lt>netdb.hE<gt>> defines the constants" |
| 593 |
msgstr "" |
| 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 |
#, no-wrap |
| 599 |
msgid "" |
| 600 |
"#define NI_MAXHOST 1025\n" |
| 601 |
"#define NI_MAXSERV 32\n" |
| 602 |
msgstr "" |
| 603 |
|
| 604 |
#. type: Plain text |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
msgid "" |
| 608 |
"Since glibc 2.8, these definitions are exposed only if suitable feature test " |
| 609 |
"macros are defined, namely: B<_GNU_SOURCE>, B<_DEFAULT_SOURCE> (since glibc " |
| 610 |
"2.19), or (in glibc versions up to and including 2.19) B<_BSD_SOURCE> or " |
| 611 |
"B<_SVID_SOURCE>." |
| 612 |
msgstr "" |
| 613 |
|
| 614 |
#. type: Plain text |
| 615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 617 |
msgid "" |
| 618 |
"The former is the constant B<MAXDNAME> in recent versions of BIND's " |
| 619 |
"I<E<lt>arpa/nameser.hE<gt>> header file. The latter is a guess based on the " |
| 620 |
"services listed in the current Assigned Numbers RFC." |
| 621 |
msgstr "" |
| 622 |
|
| 623 |
#. type: SH |
| 624 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 625 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 626 |
#, no-wrap |
| 627 |
msgid "EXAMPLES" |
| 628 |
msgstr "" |
| 629 |
|
| 630 |
#. type: Plain text |
| 631 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 632 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 633 |
msgid "" |
| 634 |
"The following code tries to get the numeric hostname and service name, for a " |
| 635 |
"given socket address. Note that there is no hardcoded reference to a " |
| 636 |
"particular address family." |
| 637 |
msgstr "" |
| 638 |
|
| 639 |
#. type: Plain text |
| 640 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 641 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 642 |
#, no-wrap |
| 643 |
msgid "" |
| 644 |
"struct sockaddr *addr; /* input */\n" |
| 645 |
"socklen_t addrlen; /* input */\n" |
| 646 |
"char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV];\n" |
| 647 |
"\\&\n" |
| 648 |
"if (getnameinfo(addr, addrlen, hbuf, sizeof(hbuf), sbuf,\n" |
| 649 |
" sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV) == 0)\n" |
| 650 |
" printf(\"host=%s, serv=%s\\[rs]n\", hbuf, sbuf);\n" |
| 651 |
msgstr "" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "" |
| 657 |
"The following version checks if the socket address has a reverse address " |
| 658 |
"mapping." |
| 659 |
msgstr "" |
| 660 |
|
| 661 |
#. type: Plain text |
| 662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
#, no-wrap |
| 665 |
msgid "" |
| 666 |
"struct sockaddr *addr; /* input */\n" |
| 667 |
"socklen_t addrlen; /* input */\n" |
| 668 |
"char hbuf[NI_MAXHOST];\n" |
| 669 |
"\\&\n" |
| 670 |
"if (getnameinfo(addr, addrlen, hbuf, sizeof(hbuf),\n" |
| 671 |
" NULL, 0, NI_NAMEREQD))\n" |
| 672 |
" printf(\"could not resolve hostname\");\n" |
| 673 |
"else\n" |
| 674 |
" printf(\"host=%s\\[rs]n\", hbuf);\n" |
| 675 |
msgstr "" |
| 676 |
|
| 677 |
#. type: Plain text |
| 678 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 679 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 680 |
msgid "" |
| 681 |
"An example program using B<getnameinfo>() can be found in B<getaddrinfo>(3)." |
| 682 |
msgstr "" |
| 683 |
|
| 684 |
#. type: SH |
| 685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 687 |
#, no-wrap |
| 688 |
msgid "SEE ALSO" |
| 689 |
msgstr "" |
| 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 "" |
| 695 |
"B<accept>(2), B<getpeername>(2), B<getsockname>(2), B<recvfrom>(2), " |
| 696 |
"B<socket>(2), B<getaddrinfo>(3), B<gethostbyaddr>(3), B<getservbyname>(3), " |
| 697 |
"B<getservbyport>(3), B<inet_ntop>(3), B<hosts>(5), B<services>(5), " |
| 698 |
"B<hostname>(7), B<named>(8)" |
| 699 |
msgstr "" |
| 700 |
|
| 701 |
#. type: Plain text |
| 702 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 703 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 704 |
msgid "" |
| 705 |
"R.\\& Gilligan, S.\\& Thomson, J.\\& Bound and W.\\& Stevens, I<Basic Socket " |
| 706 |
"Interface Extensions for IPv6>, RFC\\ 2553, March 1999." |
| 707 |
msgstr "" |
| 708 |
|
| 709 |
#. type: Plain text |
| 710 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 711 |
#: opensuse-tumbleweed |
| 712 |
msgid "" |
| 713 |
"Tatsuya Jinmei and Atsushi Onoe, I<An Extension of Format for IPv6 Scoped " |
| 714 |
"Addresses>, internet draft, work in progress E<.UR ftp:\\://ftp.ietf.org\\:/" |
| 715 |
"internet-drafts\\:/draft-ietf-ipngwg-scopedaddr-format-02.txt> E<.UE .>" |
| 716 |
msgstr "" |
| 717 |
|
| 718 |
#. type: Plain text |
| 719 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 720 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 721 |
msgid "" |
| 722 |
"Craig Metz, I<Protocol Independence Using the Sockets API>, Proceedings of " |
| 723 |
"the freenix track: 2000 USENIX annual technical conference, June 2000" |
| 724 |
msgstr "" |
| 725 |
|
| 726 |
#. type: Plain text |
| 727 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 728 |
#: opensuse-tumbleweed |
| 729 |
msgid "" |
| 730 |
"E<.UR http:\\://www.usenix.org\\:/publications\\:/library\\:/proceedings\\:/" |
| 731 |
"usenix2000\\:/freenix\\:/metzprotocol.html> E<.UE .>" |
| 732 |
msgstr "" |
| 733 |
|
| 734 |
#. type: TH |
| 735 |
#: debian-trixie |
| 736 |
#, no-wrap |
| 737 |
msgid "2024-06-15" |
| 738 |
msgstr "" |
| 739 |
|
| 740 |
#. type: TH |
| 741 |
#: debian-trixie |
| 742 |
#, no-wrap |
| 743 |
msgid "Linux man-pages 6.9.1" |
| 744 |
msgstr "" |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: debian-trixie |
| 748 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 749 |
msgstr "" |
| 750 |
|
| 751 |
#. type: Plain text |
| 752 |
#: debian-trixie fedora-44 fedora-rawhide |
| 753 |
#, no-wrap |
| 754 |
msgid "" |
| 755 |
"B<int getnameinfo(const struct sockaddr *restrict >I<addr>B<, socklen_t >I<addrlen>B<,>\n" |
| 756 |
"B< char >I<host>B<[_Nullable restrict .>I<hostlen>B<],>\n" |
| 757 |
"B< socklen_t >I<hostlen>B<,>\n" |
| 758 |
"B< char >I<serv>B<[_Nullable restrict .>I<servlen>B<],>\n" |
| 759 |
"B< socklen_t >I<servlen>B<,>\n" |
| 760 |
"B< int >I<flags>B<);>\n" |
| 761 |
msgstr "" |
| 762 |
|
| 763 |
#. type: Plain text |
| 764 |
#: debian-trixie fedora-44 fedora-rawhide |
| 765 |
msgid "" |
| 766 |
"Tatsuya Jinmei and Atsushi Onoe, I<An Extension of Format for IPv6 Scoped " |
| 767 |
"Addresses>, internet draft, work in progress E<.UR ftp://ftp.ietf.org\\:/" |
| 768 |
"internet-drafts\\:/draft-ietf-ipngwg-scopedaddr-format-02.txt> E<.UE .>" |
| 769 |
msgstr "" |
| 770 |
|
| 771 |
#. type: Plain text |
| 772 |
#: debian-trixie fedora-44 fedora-rawhide |
| 773 |
msgid "" |
| 774 |
"E<.UR http://www.usenix.org\\:/publications\\:/library\\:/proceedings\\:/" |
| 775 |
"usenix2000\\:/freenix\\:/metzprotocol.html> E<.UE .>" |
| 776 |
msgstr "" |
| 777 |
|
| 778 |
#. type: TH |
| 779 |
#: fedora-44 fedora-rawhide |
| 780 |
#, no-wrap |
| 781 |
msgid "2024-07-23" |
| 782 |
msgstr "" |
| 783 |
|
| 784 |
#. type: TH |
| 785 |
#: fedora-44 fedora-rawhide |
| 786 |
#, no-wrap |
| 787 |
msgid "Linux man-pages 6.13" |
| 788 |
msgstr "" |
| 789 |
|
| 790 |
#. type: TH |
| 791 |
#: mageia-cauldron |
| 792 |
#, no-wrap |
| 793 |
msgid "Linux man-pages 6.17" |
| 794 |
msgstr "" |
| 795 |
|
| 796 |
#. type: TH |
| 797 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 798 |
#, no-wrap |
| 799 |
msgid "Linux man-pages (unreleased)" |
| 800 |
msgstr "" |