summaryrefslogtreecommitdiffstats
path: root/po/ru/man2/eventfd.2.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/ru/man2/eventfd.2.po')
-rw-r--r--po/ru/man2/eventfd.2.po124
1 files changed, 99 insertions, 25 deletions
diff --git a/po/ru/man2/eventfd.2.po b/po/ru/man2/eventfd.2.po
index a64e64f2..9f25acf6 100644
--- a/po/ru/man2/eventfd.2.po
+++ b/po/ru/man2/eventfd.2.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: manpages-l10n\n"
-"POT-Creation-Date: 2024-03-01 16:55+0100\n"
+"POT-Creation-Date: 2024-06-01 05:48+0200\n"
"PO-Revision-Date: 2019-10-05 07:57+0300\n"
"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
"Language-Team: Russian <man-pages-ru-talks@lists.sourceforge.net>\n"
@@ -15,9 +15,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
@@ -28,16 +28,17 @@ msgid "eventfd"
msgstr "eventfd"
#. 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
@@ -340,19 +341,22 @@ msgstr ""
"0xffffffffffffffff."
#. type: TP
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, no-wrap
msgid "B<poll>(2)"
msgstr "B<poll>(2)"
#. type: TQ
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, no-wrap
msgid "B<select>(2)"
msgstr "B<select>(2)"
#. type: TQ
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, no-wrap
msgid "(and similar)"
msgstr ""
@@ -786,7 +790,7 @@ msgstr ""
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "NOTES"
-msgstr "ЗАМЕЧАНИЯ"
+msgstr "ПРИМЕЧАНИЯ"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -912,8 +916,7 @@ msgid "Program source"
msgstr "Исходный код программы"
#. type: Plain text
-#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
-#: opensuse-tumbleweed
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
msgid ""
"#include E<lt>err.hE<gt>\n"
@@ -921,6 +924,7 @@ msgid ""
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/eventfd.hE<gt>\n"
+"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
"\\&\n"
"int\n"
@@ -975,7 +979,7 @@ msgstr ""
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "SEE ALSO"
-msgstr "СМ. ТАКЖЕ"
+msgstr "СМОТРИТЕ ТАКЖЕ"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -1002,7 +1006,7 @@ msgid "Linux man-pages 6.03"
msgstr "Linux man-pages 6.03"
#. type: TP
-#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "B<poll>(2), B<select>(2) (and similar)"
msgstr "B<poll>(2), B<select>(2) (и подобные)"
@@ -1198,16 +1202,79 @@ msgstr ""
"}\n"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "2023-10-31"
+msgstr "31 октября 2023 г."
+
+#. type: TH
+#: fedora-40 mageia-cauldron
#, no-wrap
-msgid "2023-07-20"
-msgstr "20 июля 2023 г."
+msgid "Linux man-pages 6.06"
+msgstr "Linux man-pages 6.06"
+
+#. type: Plain text
+#: fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid ""
+"#include E<lt>err.hE<gt>\n"
+"#include E<lt>inttypes.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>sys/eventfd.hE<gt>\n"
+"#include E<lt>unistd.hE<gt>\n"
+"\\&\n"
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int efd;\n"
+" uint64_t u;\n"
+" ssize_t s;\n"
+"\\&\n"
+" if (argc E<lt> 2) {\n"
+" fprintf(stderr, \"Usage: %s E<lt>numE<gt>...\\en\", argv[0]);\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" efd = eventfd(0, 0);\n"
+" if (efd == -1)\n"
+" err(EXIT_FAILURE, \"eventfd\");\n"
+"\\&\n"
+" switch (fork()) {\n"
+" case 0:\n"
+" for (size_t j = 1; j E<lt> argc; j++) {\n"
+" printf(\"Child writing %s to efd\\en\", argv[j]);\n"
+" u = strtoull(argv[j], NULL, 0);\n"
+" /* strtoull() allows various bases */\n"
+" s = write(efd, &u, sizeof(uint64_t));\n"
+" if (s != sizeof(uint64_t))\n"
+" err(EXIT_FAILURE, \"write\");\n"
+" }\n"
+" printf(\"Child completed write loop\\en\");\n"
+"\\&\n"
+" exit(EXIT_SUCCESS);\n"
+"\\&\n"
+" default:\n"
+" sleep(2);\n"
+"\\&\n"
+" printf(\"Parent about to read\\en\");\n"
+" s = read(efd, &u, sizeof(uint64_t));\n"
+" if (s != sizeof(uint64_t))\n"
+" err(EXIT_FAILURE, \"read\");\n"
+" printf(\"Parent read %\"PRIu64\" (%#\"PRIx64\") from efd\\en\", u, u);\n"
+" exit(EXIT_SUCCESS);\n"
+"\\&\n"
+" case -1:\n"
+" err(EXIT_FAILURE, \"fork\");\n"
+" }\n"
+"}\n"
+msgstr ""
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-rawhide
#, no-wrap
-msgid "Linux man-pages 6.05.01"
-msgstr "Linux man-pages 6.05.01"
+msgid "Linux man-pages 6.7"
+msgstr "Linux man-pages 6.7"
#. type: TH
#: opensuse-leap-15-6
@@ -1220,3 +1287,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"