summaryrefslogtreecommitdiffstats
path: root/templates/man3/getaddrinfo_a.3.pot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:03 +0000
commit932e4432596447eb9331cc2a2bb74a26a35b4efc (patch)
tree95161711ea07fd64f0c82d6e7943024c033dd5a8 /templates/man3/getaddrinfo_a.3.pot
parentAdding debian version 4.22.0-1. (diff)
downloadmanpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz
manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/man3/getaddrinfo_a.3.pot')
-rw-r--r--templates/man3/getaddrinfo_a.3.pot296
1 files changed, 34 insertions, 262 deletions
diff --git a/templates/man3/getaddrinfo_a.3.pot b/templates/man3/getaddrinfo_a.3.pot
index bb6e836e..5851bbe4 100644
--- a/templates/man3/getaddrinfo_a.3.pot
+++ b/templates/man3/getaddrinfo_a.3.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2024-03-01 16:56+0100\n"
+"POT-Creation-Date: 2024-06-01 05:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -24,15 +24,15 @@ msgid "getaddrinfo_a"
msgstr ""
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
-msgid "2023-10-31"
+msgid "2024-05-02"
msgstr ""
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable
#, no-wrap
-msgid "Linux man-pages 6.06"
+msgid "Linux man-pages 6.8"
msgstr ""
#. type: SH
@@ -192,7 +192,8 @@ msgid ""
msgstr ""
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
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 "
@@ -224,7 +225,8 @@ 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
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
msgid ""
"When a look-up completes, generate the signal I<sigev_signo> for the "
"process. See B<sigevent>(3type) for general details. The I<si_code> field "
@@ -239,7 +241,8 @@ msgid "B<SIGEV_THREAD>"
msgstr ""
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
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>(3type) for details."
@@ -639,7 +642,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"
@@ -754,7 +758,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"
@@ -976,7 +981,8 @@ msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
msgid ""
"B<getaddrinfo>(3), B<inet>(3), B<lio_listio>(3), B<hostname>(7), B<ip>(7), "
"B<sigevent>(3type)"
@@ -995,7 +1001,7 @@ msgid "Linux man-pages 6.03"
msgstr ""
#. 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 "
@@ -1007,7 +1013,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 "
@@ -1015,7 +1021,7 @@ msgid ""
msgstr ""
#. 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."
@@ -1429,268 +1435,28 @@ msgid ""
msgstr ""
#. 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)"
msgstr ""
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
-msgid "2023-07-20"
+msgid "2023-10-31"
msgstr ""
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 mageia-cauldron
#, no-wrap
-msgid "Linux man-pages 6.05.01"
+msgid "Linux man-pages 6.06"
msgstr ""
-#. 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"
+msgid "Linux man-pages 6.7"
msgstr ""
#. type: TH
@@ -1704,3 +1470,9 @@ msgstr ""
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr ""
+
+#. type: TH
+#: opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages (unreleased)"
+msgstr ""