From 4ad94864781f48b1a4b77f9cfb934622bf756ba1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 12:51:52 +0200 Subject: Adding upstream version 4.23.0. Signed-off-by: Daniel Baumann --- templates/man2/pipe.2.pot | 87 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 76 insertions(+), 11 deletions(-) (limited to 'templates/man2/pipe.2.pot') diff --git a/templates/man2/pipe.2.pot b/templates/man2/pipe.2.pot index ae6f9acc..97686a45 100644 --- a/templates/man2/pipe.2.pot +++ b/templates/man2/pipe.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 \n" "Language-Team: LANGUAGE \n" @@ -24,15 +24,15 @@ msgid "pipe" 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 @@ -482,13 +482,13 @@ 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 Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" +"#include Esys/types.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" @@ -688,15 +688,74 @@ msgid "" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap -msgid "2023-07-30" +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 Estdio.hE\n" +"#include Estdlib.hE\n" +"#include Estring.hE\n" +"#include Esys/wait.hE\n" +"#include Eunistd.hE\n" +"\\&\n" +"int\n" +"main(int argc, char *argv[])\n" +"{\n" +" int pipefd[2];\n" +" char buf;\n" +" pid_t cpid;\n" +"\\&\n" +" if (argc != 2) {\n" +" fprintf(stderr, \"Usage: %s EstringE\\en\", argv[0]);\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" if (pipe(pipefd) == -1) {\n" +" perror(\"pipe\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" cpid = fork();\n" +" if (cpid == -1) {\n" +" perror(\"fork\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" if (cpid == 0) { /* Child reads from pipe */\n" +" close(pipefd[1]); /* Close unused write end */\n" +"\\&\n" +" while (read(pipefd[0], &buf, 1) E 0)\n" +" write(STDOUT_FILENO, &buf, 1);\n" +"\\&\n" +" write(STDOUT_FILENO, \"\\en\", 1);\n" +" close(pipefd[0]);\n" +" _exit(EXIT_SUCCESS);\n" +"\\&\n" +" } else { /* Parent writes argv[1] to pipe */\n" +" close(pipefd[0]); /* Close unused read end */\n" +" write(pipefd[1], argv[1], strlen(argv[1]));\n" +" close(pipefd[1]); /* Reader will see EOF */\n" +" wait(NULL); /* Wait for child */\n" +" exit(EXIT_SUCCESS);\n" +" }\n" +"}\n" +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "Linux man-pages 6.7" msgstr "" #. type: TH @@ -710,3 +769,9 @@ msgstr "" #, no-wrap msgid "Linux man-pages 6.04" msgstr "" + +#. type: TH +#: opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages (unreleased)" +msgstr "" -- cgit v1.2.3