diff options
Diffstat (limited to 'templates/man2/signalfd.2.pot')
-rw-r--r-- | templates/man2/signalfd.2.pot | 95 |
1 files changed, 80 insertions, 15 deletions
diff --git a/templates/man2/signalfd.2.pot b/templates/man2/signalfd.2.pot index d76b68a7..3258bc54 100644 --- a/templates/man2/signalfd.2.pot +++ b/templates/man2/signalfd.2.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-01 17:08+0100\n" +"POT-Creation-Date: 2024-06-01 06:22+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 "signalfd" 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 @@ -220,19 +220,22 @@ msgid "" msgstr "" #. 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 "" #. 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 "" #. 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 "" @@ -752,8 +755,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" @@ -761,6 +763,7 @@ msgid "" "#include E<lt>stdio.hE<gt>\n" "#include E<lt>stdlib.hE<gt>\n" "#include E<lt>sys/signalfd.hE<gt>\n" +"#include E<lt>sys/types.hE<gt>\n" "#include E<lt>unistd.hE<gt>\n" "\\&\n" "int\n" @@ -832,7 +835,7 @@ msgid "Linux man-pages 6.03" msgstr "" #. 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 "" @@ -937,15 +940,71 @@ msgid "" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap -msgid "2023-05-03" +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 +#: fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "" +"#include E<lt>err.hE<gt>\n" +"#include E<lt>signal.hE<gt>\n" +"#include E<lt>stdio.hE<gt>\n" +"#include E<lt>stdlib.hE<gt>\n" +"#include E<lt>sys/signalfd.hE<gt>\n" +"#include E<lt>unistd.hE<gt>\n" +"\\&\n" +"int\n" +"main(void)\n" +"{\n" +" int sfd;\n" +" ssize_t s;\n" +" sigset_t mask;\n" +" struct signalfd_siginfo fdsi;\n" +"\\&\n" +" sigemptyset(&mask);\n" +" sigaddset(&mask, SIGINT);\n" +" sigaddset(&mask, SIGQUIT);\n" +"\\&\n" +" /* Block signals so that they aren\\[aq]t handled\n" +" according to their default dispositions. */\n" +"\\&\n" +" if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1)\n" +" err(EXIT_FAILURE, \"sigprocmask\");\n" +"\\&\n" +" sfd = signalfd(-1, &mask, 0);\n" +" if (sfd == -1)\n" +" err(EXIT_FAILURE, \"signalfd\");\n" +"\\&\n" +" for (;;) {\n" +" s = read(sfd, &fdsi, sizeof(fdsi));\n" +" if (s != sizeof(fdsi))\n" +" err(EXIT_FAILURE, \"read\");\n" +"\\&\n" +" if (fdsi.ssi_signo == SIGINT) {\n" +" printf(\"Got SIGINT\\en\");\n" +" } else if (fdsi.ssi_signo == SIGQUIT) {\n" +" printf(\"Got SIGQUIT\\en\");\n" +" exit(EXIT_SUCCESS);\n" +" } else {\n" +" printf(\"Read unexpected signal\\en\");\n" +" }\n" +" }\n" +"}\n" +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "Linux man-pages 6.7" msgstr "" #. type: TH @@ -959,3 +1018,9 @@ msgstr "" #, no-wrap msgid "Linux man-pages 6.04" msgstr "" + +#. type: TH +#: opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages (unreleased)" +msgstr "" |