summaryrefslogtreecommitdiffstats
path: root/po/ru/man3/getaddrinfo_a.3.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/ru/man3/getaddrinfo_a.3.po')
-rw-r--r--po/ru/man3/getaddrinfo_a.3.po320
1 files changed, 47 insertions, 273 deletions
diff --git a/po/ru/man3/getaddrinfo_a.3.po b/po/ru/man3/getaddrinfo_a.3.po
index 246fff6e..054c52bf 100644
--- a/po/ru/man3/getaddrinfo_a.3.po
+++ b/po/ru/man3/getaddrinfo_a.3.po
@@ -9,7 +9,7 @@
msgid ""
msgstr ""
"Project-Id-Version: manpages-l10n\n"
-"POT-Creation-Date: 2024-03-01 16:56+0100\n"
+"POT-Creation-Date: 2024-06-01 05:51+0200\n"
"PO-Revision-Date: 2019-10-05 08:06+0300\n"
"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
"Language-Team: Russian <man-pages-ru-talks@lists.sourceforge.net>\n"
@@ -17,9 +17,9 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
-"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
-"(n%100>=11 && n%100<=14)? 2 : 3);\n"
+"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
+"%100>=11 && n%100<=14)? 2 : 3);\n"
"X-Generator: Lokalize 2.0\n"
#. type: TH
@@ -30,16 +30,17 @@ msgid "getaddrinfo_a"
msgstr ""
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
-msgid "2023-10-31"
-msgstr "31 октября 2023 г."
+msgid "2024-05-02"
+msgstr "2 мая 2024 г."
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
-#, no-wrap
-msgid "Linux man-pages 6.06"
-msgstr "Linux man-pages 6.06"
+#: archlinux debian-unstable
+#, fuzzy, no-wrap
+#| msgid "Linux man-pages 6.7"
+msgid "Linux man-pages 6.8"
+msgstr "Linux man-pages 6.7"
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -233,7 +234,8 @@ msgstr ""
"которую ссылаются последние два элемента, описана в B<getaddrinfo>(3)."
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "When I<mode> is specified as B<GAI_NOWAIT>, notifications about resolved "
@@ -277,7 +279,8 @@ msgstr "B<SIGEV_SIGNAL>"
#. si_pid and si_uid are also set, to the values of the calling process,
#. which doesn't provide useful information, so we'll skip mentioning it.
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "When a look-up completes, generate the signal I<sigev_signo> for the "
@@ -300,7 +303,8 @@ msgid "B<SIGEV_THREAD>"
msgstr "B<SIGEV_THREAD>"
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "When a look-up completes, invoke I<sigev_notify_function> as if it were "
@@ -764,7 +768,8 @@ msgid "Here is the program source code"
msgstr "Исходный код программы"
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
@@ -910,7 +915,8 @@ msgid "The program source is as follows:"
msgstr "Исходный код программы:"
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
@@ -1129,10 +1135,11 @@ msgstr ""
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "SEE ALSO"
-msgstr "СМ. ТАКЖЕ"
+msgstr "СМОТРИТЕ ТАКЖЕ"
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "B<getaddrinfo>(3), B<inet>(3), B<lio_listio>(3), B<hostname>(7), "
@@ -1157,7 +1164,7 @@ msgid "Linux man-pages 6.03"
msgstr "Linux man-pages 6.03"
#. type: Plain text
-#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#: debian-bookworm opensuse-leap-15-6
msgid ""
"When I<mode> is specified as B<GAI_NOWAIT>, notifications about resolved "
"requests can be obtained by employing the I<sigevent> structure pointed to "
@@ -1174,7 +1181,7 @@ msgstr ""
#. si_pid and si_uid are also set, to the values of the calling process,
#. which doesn't provide useful information, so we'll skip mentioning it.
#. type: Plain text
-#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#: debian-bookworm opensuse-leap-15-6
msgid ""
"When a look-up completes, generate the signal I<sigev_signo> for the "
"process. See B<sigevent>(7) for general details. The I<si_code> field of "
@@ -1185,7 +1192,7 @@ msgstr ""
"присваивается значение B<SI_ASYNCNL>."
#. type: Plain text
-#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#: debian-bookworm opensuse-leap-15-6
msgid ""
"When a look-up completes, invoke I<sigev_notify_function> as if it were the "
"start function of a new thread. See B<sigevent>(7) for details."
@@ -1208,7 +1215,7 @@ msgstr ""
#: debian-bookworm
#, no-wrap
msgid "NOTES"
-msgstr "ЗАМЕЧАНИЯ"
+msgstr "ПРИМЕЧАНИЯ"
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
@@ -1911,7 +1918,7 @@ msgstr ""
"}\n"
#. type: Plain text
-#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#: debian-bookworm opensuse-leap-15-6
msgid ""
"B<getaddrinfo>(3), B<inet>(3), B<lio_listio>(3), B<hostname>(7), B<ip>(7), "
"B<sigevent>(7)"
@@ -1920,262 +1927,22 @@ msgstr ""
"B<sigevent>(7)"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
-msgid "2023-07-20"
-msgstr "20 июля 2023 г."
+msgid "2023-10-31"
+msgstr "31 октября 2023 г."
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 mageia-cauldron
#, no-wrap
-msgid "Linux man-pages 6.05.01"
-msgstr "Linux man-pages 6.05.01"
+msgid "Linux man-pages 6.06"
+msgstr "Linux man-pages 6.06"
-#. type: Plain text
-#: debian-unstable opensuse-tumbleweed
+#. type: TH
+#: fedora-rawhide
#, no-wrap
-msgid ""
-"#define _GNU_SOURCE\n"
-"#include E<lt>netdb.hE<gt>\n"
-"#include E<lt>stdio.hE<gt>\n"
-"#include E<lt>stdlib.hE<gt>\n"
-"#include E<lt>string.hE<gt>\n"
-"\\&\n"
-"int\n"
-"main(int argc, char *argv[])\n"
-"{\n"
-" int ret;\n"
-" struct gaicb *reqs[argc - 1];\n"
-" char host[NI_MAXHOST];\n"
-" struct addrinfo *res;\n"
-"\\&\n"
-" if (argc E<lt> 2) {\n"
-" fprintf(stderr, \"Usage: %s HOST...\\en\", argv[0]);\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
-"\\&\n"
-" for (size_t i = 0; i E<lt> argc - 1; i++) {\n"
-" reqs[i] = malloc(sizeof(*reqs[0]));\n"
-" if (reqs[i] == NULL) {\n"
-" perror(\"malloc\");\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
-" memset(reqs[i], 0, sizeof(*reqs[0]));\n"
-" reqs[i]-E<gt>ar_name = argv[i + 1];\n"
-" }\n"
-"\\&\n"
-" ret = getaddrinfo_a(GAI_WAIT, reqs, argc - 1, NULL);\n"
-" if (ret != 0) {\n"
-" fprintf(stderr, \"getaddrinfo_a() failed: %s\\en\",\n"
-" gai_strerror(ret));\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
-"\\&\n"
-" for (size_t i = 0; i E<lt> argc - 1; i++) {\n"
-" printf(\"%s: \", reqs[i]-E<gt>ar_name);\n"
-" ret = gai_error(reqs[i]);\n"
-" if (ret == 0) {\n"
-" res = reqs[i]-E<gt>ar_result;\n"
-"\\&\n"
-" ret = getnameinfo(res-E<gt>ai_addr, res-E<gt>ai_addrlen,\n"
-" host, sizeof(host),\n"
-" NULL, 0, NI_NUMERICHOST);\n"
-" if (ret != 0) {\n"
-" fprintf(stderr, \"getnameinfo() failed: %s\\en\",\n"
-" gai_strerror(ret));\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
-" puts(host);\n"
-"\\&\n"
-" } else {\n"
-" puts(gai_strerror(ret));\n"
-" }\n"
-" }\n"
-" exit(EXIT_SUCCESS);\n"
-"}\n"
-msgstr ""
-
-#. type: Plain text
-#: debian-unstable opensuse-tumbleweed
-#, no-wrap
-msgid ""
-"#define _GNU_SOURCE\n"
-"#include E<lt>netdb.hE<gt>\n"
-"#include E<lt>stdio.hE<gt>\n"
-"#include E<lt>stdlib.hE<gt>\n"
-"#include E<lt>string.hE<gt>\n"
-"\\&\n"
-"static struct gaicb **reqs = NULL;\n"
-"static size_t nreqs = 0;\n"
-"\\&\n"
-"static char *\n"
-"getcmd(void)\n"
-"{\n"
-" static char buf[256];\n"
-"\\&\n"
-" fputs(\"E<gt> \", stdout); fflush(stdout);\n"
-" if (fgets(buf, sizeof(buf), stdin) == NULL)\n"
-" return NULL;\n"
-"\\&\n"
-" if (buf[strlen(buf) - 1] == \\[aq]\\en\\[aq])\n"
-" buf[strlen(buf) - 1] = 0;\n"
-"\\&\n"
-" return buf;\n"
-"}\n"
-"\\&\n"
-"/* Add requests for specified hostnames. */\n"
-"static void\n"
-"add_requests(void)\n"
-"{\n"
-" size_t nreqs_base = nreqs;\n"
-" char *host;\n"
-" int ret;\n"
-"\\&\n"
-" while ((host = strtok(NULL, \" \"))) {\n"
-" nreqs++;\n"
-" reqs = realloc(reqs, sizeof(reqs[0]) * nreqs);\n"
-"\\&\n"
-" reqs[nreqs - 1] = calloc(1, sizeof(*reqs[0]));\n"
-" reqs[nreqs - 1]-E<gt>ar_name = strdup(host);\n"
-" }\n"
-"\\&\n"
-" /* Queue nreqs_base..nreqs requests. */\n"
-"\\&\n"
-" ret = getaddrinfo_a(GAI_NOWAIT, &reqs[nreqs_base],\n"
-" nreqs - nreqs_base, NULL);\n"
-" if (ret) {\n"
-" fprintf(stderr, \"getaddrinfo_a() failed: %s\\en\",\n"
-" gai_strerror(ret));\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
-"}\n"
-"\\&\n"
-"/* Wait until at least one of specified requests completes. */\n"
-"static void\n"
-"wait_requests(void)\n"
-"{\n"
-" char *id;\n"
-" int ret;\n"
-" size_t n;\n"
-" struct gaicb const **wait_reqs = calloc(nreqs, sizeof(*wait_reqs));\n"
-" /* NULL elements are ignored by gai_suspend(). */\n"
-"\\&\n"
-" while ((id = strtok(NULL, \" \")) != NULL) {\n"
-" n = atoi(id);\n"
-"\\&\n"
-" if (n E<gt>= nreqs) {\n"
-" printf(\"Bad request number: %s\\en\", id);\n"
-" return;\n"
-" }\n"
-"\\&\n"
-" wait_reqs[n] = reqs[n];\n"
-" }\n"
-"\\&\n"
-" ret = gai_suspend(wait_reqs, nreqs, NULL);\n"
-" if (ret) {\n"
-" printf(\"gai_suspend(): %s\\en\", gai_strerror(ret));\n"
-" return;\n"
-" }\n"
-"\\&\n"
-" for (size_t i = 0; i E<lt> nreqs; i++) {\n"
-" if (wait_reqs[i] == NULL)\n"
-" continue;\n"
-"\\&\n"
-" ret = gai_error(reqs[i]);\n"
-" if (ret == EAI_INPROGRESS)\n"
-" continue;\n"
-"\\&\n"
-" printf(\"[%02zu] %s: %s\\en\", i, reqs[i]-E<gt>ar_name,\n"
-" ret == 0 ? \"Finished\" : gai_strerror(ret));\n"
-" }\n"
-"}\n"
-"\\&\n"
-"/* Cancel specified requests. */\n"
-"static void\n"
-"cancel_requests(void)\n"
-"{\n"
-" char *id;\n"
-" int ret;\n"
-" size_t n;\n"
-"\\&\n"
-" while ((id = strtok(NULL, \" \")) != NULL) {\n"
-" n = atoi(id);\n"
-"\\&\n"
-" if (n E<gt>= nreqs) {\n"
-" printf(\"Bad request number: %s\\en\", id);\n"
-" return;\n"
-" }\n"
-"\\&\n"
-" ret = gai_cancel(reqs[n]);\n"
-" printf(\"[%s] %s: %s\\en\", id, reqs[atoi(id)]-E<gt>ar_name,\n"
-" gai_strerror(ret));\n"
-" }\n"
-"}\n"
-"\\&\n"
-"/* List all requests. */\n"
-"static void\n"
-"list_requests(void)\n"
-"{\n"
-" int ret;\n"
-" char host[NI_MAXHOST];\n"
-" struct addrinfo *res;\n"
-"\\&\n"
-" for (size_t i = 0; i E<lt> nreqs; i++) {\n"
-" printf(\"[%02zu] %s: \", i, reqs[i]-E<gt>ar_name);\n"
-" ret = gai_error(reqs[i]);\n"
-"\\&\n"
-" if (!ret) {\n"
-" res = reqs[i]-E<gt>ar_result;\n"
-"\\&\n"
-" ret = getnameinfo(res-E<gt>ai_addr, res-E<gt>ai_addrlen,\n"
-" host, sizeof(host),\n"
-" NULL, 0, NI_NUMERICHOST);\n"
-" if (ret) {\n"
-" fprintf(stderr, \"getnameinfo() failed: %s\\en\",\n"
-" gai_strerror(ret));\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
-" puts(host);\n"
-" } else {\n"
-" puts(gai_strerror(ret));\n"
-" }\n"
-" }\n"
-"}\n"
-"\\&\n"
-"int\n"
-"main(void)\n"
-"{\n"
-" char *cmdline;\n"
-" char *cmd;\n"
-"\\&\n"
-" while ((cmdline = getcmd()) != NULL) {\n"
-" cmd = strtok(cmdline, \" \");\n"
-"\\&\n"
-" if (cmd == NULL) {\n"
-" list_requests();\n"
-" } else {\n"
-" switch (cmd[0]) {\n"
-" case \\[aq]a\\[aq]:\n"
-" add_requests();\n"
-" break;\n"
-" case \\[aq]w\\[aq]:\n"
-" wait_requests();\n"
-" break;\n"
-" case \\[aq]c\\[aq]:\n"
-" cancel_requests();\n"
-" break;\n"
-" case \\[aq]l\\[aq]:\n"
-" list_requests();\n"
-" break;\n"
-" default:\n"
-" fprintf(stderr, \"Bad command: %c\\en\", cmd[0]);\n"
-" break;\n"
-" }\n"
-" }\n"
-" }\n"
-" exit(EXIT_SUCCESS);\n"
-"}\n"
-msgstr ""
+msgid "Linux man-pages 6.7"
+msgstr "Linux man-pages 6.7"
#. type: TH
#: opensuse-leap-15-6
@@ -2188,3 +1955,10 @@ msgstr "30 марта 2023 г."
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr "Linux man-pages 6.04"
+
+#. type: TH
+#: opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid "Linux man-pages 6.7"
+msgid "Linux man-pages (unreleased)"
+msgstr "Linux man-pages 6.7"