diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
commit | 932e4432596447eb9331cc2a2bb74a26a35b4efc (patch) | |
tree | 95161711ea07fd64f0c82d6e7943024c033dd5a8 /templates/man2/pidfd_open.2.pot | |
parent | Adding debian version 4.22.0-1. (diff) | |
download | manpages-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/man2/pidfd_open.2.pot')
-rw-r--r-- | templates/man2/pidfd_open.2.pot | 85 |
1 files changed, 74 insertions, 11 deletions
diff --git a/templates/man2/pidfd_open.2.pot b/templates/man2/pidfd_open.2.pot index 818d7591..0ec122f8 100644 --- a/templates/man2/pidfd_open.2.pot +++ b/templates/man2/pidfd_open.2.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-01 17:03+0100\n" +"POT-Creation-Date: 2024-06-01 06:08+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 "pidfd_open" 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 @@ -453,8 +453,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 "" "#define _GNU_SOURCE\n" @@ -462,6 +461,7 @@ msgid "" "#include E<lt>stdio.hE<gt>\n" "#include E<lt>stdlib.hE<gt>\n" "#include E<lt>sys/syscall.hE<gt>\n" +"#include E<lt>sys/types.hE<gt>\n" "#include E<lt>unistd.hE<gt>\n" "\\&\n" "static int\n" @@ -652,15 +652,72 @@ 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 "" +"#define _GNU_SOURCE\n" +"#include E<lt>poll.hE<gt>\n" +"#include E<lt>stdio.hE<gt>\n" +"#include E<lt>stdlib.hE<gt>\n" +"#include E<lt>sys/syscall.hE<gt>\n" +"#include E<lt>unistd.hE<gt>\n" +"\\&\n" +"static int\n" +"pidfd_open(pid_t pid, unsigned int flags)\n" +"{\n" +" return syscall(SYS_pidfd_open, pid, flags);\n" +"}\n" +"\\&\n" +"int\n" +"main(int argc, char *argv[])\n" +"{\n" +" int pidfd, ready;\n" +" struct pollfd pollfd;\n" +"\\&\n" +" if (argc != 2) {\n" +" fprintf(stderr, \"Usage: %s E<lt>pidE<gt>\\en\", argv[0]);\n" +" exit(EXIT_SUCCESS);\n" +" }\n" +"\\&\n" +" pidfd = pidfd_open(atoi(argv[1]), 0);\n" +" if (pidfd == -1) {\n" +" perror(\"pidfd_open\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" pollfd.fd = pidfd;\n" +" pollfd.events = POLLIN;\n" +"\\&\n" +" ready = poll(&pollfd, 1, -1);\n" +" if (ready == -1) {\n" +" perror(\"poll\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" printf(\"Events (%#x): POLLIN is %sset\\en\", pollfd.revents,\n" +" (pollfd.revents & POLLIN) ? \"\" : \"not \");\n" +"\\&\n" +" close(pidfd);\n" +" exit(EXIT_SUCCESS);\n" +"}\n" +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "Linux man-pages 6.7" msgstr "" #. type: TH @@ -674,3 +731,9 @@ msgstr "" #, no-wrap msgid "Linux man-pages 6.04" msgstr "" + +#. type: TH +#: opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages (unreleased)" +msgstr "" |